Merge branch 'master' into VERSION_file_removal
This commit is contained in:
@@ -593,6 +593,17 @@ class PropertyManager {
|
||||
src.copy_to(src_range, dst, dst_range);
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark whether this property should be stored when mesh is written
|
||||
* to a file
|
||||
*
|
||||
* @param _persistence Property will be stored iff _persistence is true
|
||||
*/
|
||||
void set_persistent(bool _persistence = true)
|
||||
{
|
||||
mesh().property(getRawProperty()).set_persistent(_persistence);
|
||||
}
|
||||
|
||||
private:
|
||||
void deleteProperty() {
|
||||
if (!retain_ && prop_.is_valid())
|
||||
|
||||
@@ -30,6 +30,8 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
|
||||
if (TARGET Eigen3::Eigen)
|
||||
add_definitions( -DENABLE_EIGEN3_TEST )
|
||||
link_libraries(Eigen3::Eigen)
|
||||
else()
|
||||
message(WARNING "Eigen3 not found! This will skip the Eigen3 Unittests. You can point cmake to Eigen3 by setting Eigen3_DIR to the cmake files of Eigen3")
|
||||
endif()
|
||||
|
||||
if ( CMAKE_GENERATOR MATCHES "^Visual Studio 11.*" )
|
||||
|
||||
Reference in New Issue
Block a user