Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
This commit is contained in:
@@ -249,7 +249,7 @@ void ViewProviderVRMLObject::updateData(const App::Property* prop)
|
||||
SoInput::removeDirectory(subpath.constData());
|
||||
}
|
||||
}
|
||||
else if (prop->isDerivedFrom(App::PropertyPlacement::getClassTypeId()) &&
|
||||
else if (prop->isDerivedFrom<App::PropertyPlacement>() &&
|
||||
strcmp(prop->getName(), "Placement") == 0) {
|
||||
// Note: If R is the rotation, c the rotation center and t the translation
|
||||
// vector then Inventor applies the following transformation: R*(x-c)+c+t
|
||||
|
||||
Reference in New Issue
Block a user