From a592488f3e18a68bdf020a0413cd45356dfa638c Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Wed, 28 Mar 2012 07:47:31 +0200 Subject: [PATCH] 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. --- simgear/scene/model/SGReaderWriterXML.cxx | 2 -- 1 file changed, 2 deletions(-) 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) { -- 2.39.2