Core: move getPlacementProperty to be more accessible (#26088)
* Core: move getPlacementProperty to be more accessible * Update DocumentObject.h * Update DocumentObject.cpp * Update ViewProviderDragger.h * Update ViewProviderDragger.cpp * Update DocumentObject.h * Update DocumentObject.cpp * Update ViewProviderLink.cpp * Update DocumentObject.h * Update DocumentObject.cpp * Update DocumentObject.h
This commit is contained in:
@@ -3271,7 +3271,7 @@ bool ViewProviderLink::initDraggingPlacement()
|
||||
dragCtx = std::make_unique<DraggerContext>();
|
||||
|
||||
dragCtx->preTransform = doc->getEditingTransform();
|
||||
const auto& pla = getPlacementProperty()->getValue();
|
||||
const auto& pla = getObject()->getPlacementProperty()->getValue();
|
||||
|
||||
// Cancel out our own transformation from the editing transform, because
|
||||
// the dragger is meant to change our transformation.
|
||||
|
||||
Reference in New Issue
Block a user