From 5a06a63e92a7dcf739879acf7ed2780ecd6f87ed Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Tue, 5 Nov 2019 18:12:37 +0100 Subject: [PATCH] fix typo --- src/OpenMesh/Core/Utils/PropertyManager.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/OpenMesh/Core/Utils/PropertyManager.hh b/src/OpenMesh/Core/Utils/PropertyManager.hh index a48bc8b8..c3b90269 100644 --- a/src/OpenMesh/Core/Utils/PropertyManager.hh +++ b/src/OpenMesh/Core/Utils/PropertyManager.hh @@ -172,15 +172,15 @@ class PropertyManager { * * Asks for a property with name propname and creates one if none exists. Lifetime is not managed. * - * @param initial_value If the proeprty is newly created, it will be initialized with intial_value. + * @param initial_value If the proeprty is newly created, it will be initialized with initial_value. * If the property already existed, nothing is changes. * @param mesh The mesh on which to create the property. * @param propname The name of the property. */ - PropertyManager(const Value& intial_value, PolyConnectivity& mesh, const char *propname) : mesh_(mesh), retain_(true), name_(propname) { + PropertyManager(const Value& initial_value, PolyConnectivity& mesh, const char *propname) : mesh_(mesh), retain_(true), name_(propname) { if (!mesh_.get_property_handle(prop_, propname)) { mesh_.add_property(prop_, propname); - set_range(mesh_.all_elements(), intial_value); + set_range(mesh_.all_elements(), initial_value); } } @@ -200,12 +200,12 @@ class PropertyManager { * * Create an anonymous property. Lifetime is managed. * - * @param initial_value The property will be initialized with intial_value. + * @param initial_value The property will be initialized with initial_value. * @param mesh The mesh on which to create the property. */ - PropertyManager(const Value& intial_value, PolyConnectivity& mesh) : mesh_(mesh), retain_(false), name_("") { + PropertyManager(const Value& initial_value, PolyConnectivity& mesh) : mesh_(mesh), retain_(false), name_("") { mesh_.add_property(prop_, name_); - set_range(mesh_.all_elements(), intial_value); + set_range(mesh_.all_elements(), initial_value); } /**