Commit 803f8491 authored by Jan Möbius's avatar Jan Möbius

Fixed inconsistencies in PluginFunctions, including documentation.

closes #1355



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16001 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4e2ad4bc
...@@ -354,7 +354,7 @@ bool getAllMeshes( std::vector<int>& _identifiers ) { ...@@ -354,7 +354,7 @@ bool getAllMeshes( std::vector<int>& _identifiers ) {
return (!_identifiers.empty()); return (!_identifiers.empty());
} }
bool get_all_object_identifiers( std::vector<int>& _identifiers ) { bool getAllObjectIdentifiers( std::vector<int>& _identifiers ) {
_identifiers.clear(); _identifiers.clear();
......
...@@ -112,22 +112,21 @@ bool getSourceIdentifiers( std::vector<int>& _identifiers ); ...@@ -112,22 +112,21 @@ bool getSourceIdentifiers( std::vector<int>& _identifiers );
DLLEXPORT DLLEXPORT
bool getTargetIdentifiers( std::vector<int>& _identifiers ); bool getTargetIdentifiers( std::vector<int>& _identifiers );
/** \brief Get identifiers of all meshes /** \brief Get identifiers of all objects
* *
* @param _identifiers ( vector returning the identifiers ) * @param _identifiers ( vector returning the identifiers )
* @return false, if no mesh is found * @return false, if no object is found
*/ */
DLLEXPORT DLLEXPORT
bool getAllMeshes( std::vector<int>& _identifiers ); bool getAllObjectIdentifiers( std::vector<int>& _identifiers );
/** \brief Get identifiers of all objects /** \brief Get identifiers of all meshes
* *
* @param _identifiers ( vector returning the identifiers ) * @param _identifiers ( vector returning the identifiers )
* @return false, if no mesh is found * @return false, if no mesh is found
*/ */
DLLEXPORT DLLEXPORT
bool getAllObjectIdentifiers( std::vector<int>& _identifiers ); bool getAllMeshes( std::vector<int>& _identifiers );
/** \brief Get the object which has the given identifier. /** \brief Get the object which has the given identifier.
* *
...@@ -143,7 +142,7 @@ DLLEXPORT ...@@ -143,7 +142,7 @@ DLLEXPORT
bool getObject( const int _identifier , BaseObject*& _object ); bool getObject( const int _identifier , BaseObject*& _object );
/** This functions returns the object with the given id regardless of the type of object. /** This functions returns the object with the given id regardless of the type of object.
* See get_object( int _identifier , ject*& _object ) for more details. * See getObject( const int _identifier , BaseObject*& _object ) for more details.
*/ */
DLLEXPORT DLLEXPORT
bool getObject( const int _identifier , BaseObjectData*& _object ); bool getObject( const int _identifier , BaseObjectData*& _object );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment