From: szy Date: Wed, 4 Mar 2015 11:58:37 +0000 (+0300) Subject: 0025501: TNaming::Displace calls itself recursively with default parameter. X-Git-Tag: V6_9_0_beta~61 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=076b125a906af83b11ce976ccf3319652215910e;p=occt.git 0025501: TNaming::Displace calls itself recursively with default parameter. Patch to fix misprint in method Displace (). --- diff --git a/src/TNaming/TNaming.cxx b/src/TNaming/TNaming.cxx index 9b31c8f46d..685a606bc4 100644 --- a/src/TNaming/TNaming.cxx +++ b/src/TNaming/TNaming.cxx @@ -398,7 +398,7 @@ void TNaming::Displace (const TDF_Label& L, } } for (TDF_ChildIterator ciL(L); ciL.More(); ciL.Next()) { - Displace (ciL.Value(),Loc); + Displace (ciL.Value(), Loc, WithOld); } }