diff options
Diffstat (limited to 'graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp')
-rw-r--r-- | graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp b/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp new file mode 100644 index 000000000..e24a6a158 --- /dev/null +++ b/graphics/gsculpt/files/patch-src::ObjEdit::ObjectCollection.cpp @@ -0,0 +1,19 @@ +--- ./src/ObjEdit/ObjectCollection.cpp.orig Mon Jul 21 18:47:55 2003 ++++ ./src/ObjEdit/ObjectCollection.cpp Mon Jul 21 19:44:26 2003 +@@ -326,11 +326,14 @@ + UniqueId ObjectCollection::getUniqueId(const string& name) const + { + IdTable::const_iterator iter = nameToId.find(name); +- if ( iter != objects.end() ) ++ ++ //if (iter != objects.end() ) ++ // Is this correct? 21.7.03, barner@in.tum.de ++ if (iter != nameToId.end()) + { + return (*iter).second; + } +- else ++ else + { + return -1; + } |