diff --git a/src/Gui/SelectionObject.h b/src/Gui/SelectionObject.h index f45725337..326ea952c 100644 --- a/src/Gui/SelectionObject.h +++ b/src/Gui/SelectionObject.h @@ -61,7 +61,7 @@ public: /// get the Type of the selected Object inline const char* getTypeName(void) const { return TypeName.c_str(); } /// get the selection points - inline const std::vector getSubPoints(void) const { return SelPoses; } + inline const std::vector getPickedPoints(void) const { return SelPoses; } /// returns the selected DocumentObject or NULL if the object is already deleted const App::DocumentObject *getObject(void) const; diff --git a/src/Gui/SelectionObjectPy.xml b/src/Gui/SelectionObjectPy.xml index 9014e495a..4a98eaabf 100644 --- a/src/Gui/SelectionObjectPy.xml +++ b/src/Gui/SelectionObjectPy.xml @@ -72,11 +72,11 @@ - + - Selection points + Picked points for selection - + diff --git a/src/Gui/SelectionObjectPyImp.cpp b/src/Gui/SelectionObjectPyImp.cpp index f17cfc65e..55597f788 100644 --- a/src/Gui/SelectionObjectPyImp.cpp +++ b/src/Gui/SelectionObjectPyImp.cpp @@ -125,9 +125,9 @@ Py::Boolean SelectionObjectPy::getHasSubObjects(void) const return Py::Boolean(getSelectionObjectPtr()->hasSubNames()); } -Py::Tuple SelectionObjectPy::getSubPoints(void) const +Py::Tuple SelectionObjectPy::getPickedPoints(void) const { - const std::vector& points = getSelectionObjectPtr()->getSubPoints(); + const std::vector& points = getSelectionObjectPtr()->getPickedPoints(); Py::Tuple temp(points.size()); Py::sequence_index_type index = 0;