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:
PaddleStroke
2025-12-12 12:59:03 +01:00
committed by GitHub
parent 9625a71d8d
commit 893a9d19b6
5 changed files with 33 additions and 21 deletions

View File

@@ -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.