OpenMesh/Core/Utils/PropertyManager: Added property to retain() method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@670 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -151,8 +151,8 @@ class PropertyManager {
|
|||||||
* If this method is called, the encapsulated property will not be deleted
|
* If this method is called, the encapsulated property will not be deleted
|
||||||
* upon destruction of the PropertyManager instance.
|
* upon destruction of the PropertyManager instance.
|
||||||
*/
|
*/
|
||||||
inline void retain() {
|
inline void retain(bool doRetain = true) {
|
||||||
retain_ = true;
|
retain_ = doRetain;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user