Merge branch 'fix-retain-deprecation-warning' into 'master'
Fix warning by not calling now-empty and deprecated retain(). See merge request OpenMesh/OpenMesh!352
This commit is contained in:
@@ -390,7 +390,6 @@ class PropertyManager {
|
||||
const PROP_VALUE &init_value) {
|
||||
const bool exists = propertyExists(mesh, propname);
|
||||
PropertyManager pm(mesh, propname, exists);
|
||||
pm.retain();
|
||||
if (!exists)
|
||||
pm.set_range(begin, end, init_value);
|
||||
return std::move(pm);
|
||||
|
||||
Reference in New Issue
Block a user