Apply transformation only from Placement property
This commit is contained in:
parent
e84497ff08
commit
e919076823
|
@ -172,7 +172,8 @@ void ViewProviderGeometryObject::updateData(const App::Property* prop)
|
|||
trf->setMatrix(m.inverse());
|
||||
}
|
||||
}
|
||||
else if (prop->isDerivedFrom(App::PropertyPlacement::getClassTypeId())) {
|
||||
else if (prop->isDerivedFrom(App::PropertyPlacement::getClassTypeId()) &&
|
||||
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
|
||||
// In FreeCAD a placement only has a rotation and a translation part but
|
||||
|
|
Loading…
Reference in New Issue
Block a user