From Romain Charbit, "added a getConnectedSelections(Dragger&) method, so we can get which selections are connected to a dragger without make our own multimap, copying the existing _draggerSelectionMap (which is protected with no accessors) ."
This commit is contained in:
@@ -47,6 +47,9 @@ class OSGMANIPULATOR_EXPORT CommandManager : public osg::Referenced
|
||||
/** Add all selections connected to the dragger to the command. */
|
||||
void addSelectionsToCommand(MotionCommand& command, Dragger& dragger);
|
||||
|
||||
/** Returns the selections connected to the dragger */
|
||||
std::list< osg::ref_ptr<Selection> > getConnectedSelections(Dragger& dragger);
|
||||
|
||||
protected:
|
||||
|
||||
virtual ~CommandManager();
|
||||
|
||||
Reference in New Issue
Block a user