From: Mathias Froehlich Date: Wed, 28 Mar 2012 05:47:31 +0000 (+0200) Subject: scenery: Remove redundant setting the property root. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a592488f3e18a68bdf020a0413cd45356dfa638c;p=simgear.git scenery: Remove redundant setting the property root. The same value was extracted out of the same options value in the code above. So, skip resetting to the same value. --- diff --git a/simgear/scene/model/SGReaderWriterXML.cxx b/simgear/scene/model/SGReaderWriterXML.cxx index 17c51dd9..50943dcd 100644 --- a/simgear/scene/model/SGReaderWriterXML.cxx +++ b/simgear/scene/model/SGReaderWriterXML.cxx @@ -263,8 +263,6 @@ sgLoad3DModel_internal(const SGPath& path, // model without wrapper } - options->setPropertyNode(prop_root); - // Assume that textures are in // the same location as the XML file. if (!model) {