Sketcher: OVP were drawn at wrong position when editing a sketch from link (#18060)
* Sketcher: OVP were drawn at wrong position when editing a sketch from a link. * Update src/Mod/Sketcher/Gui/DrawSketchController.h Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com> --------- Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
This commit is contained in:
@@ -583,7 +583,9 @@ protected:
|
||||
void initNOnViewParameters(int n)
|
||||
{
|
||||
Gui::View3DInventorViewer* viewer = handler->getViewer();
|
||||
Base::Placement placement = handler->sketchgui->getSketchObject()->globalPlacement();
|
||||
|
||||
auto doc = Gui::Application::Instance->editDocument();
|
||||
auto placement = Base::Placement(doc->getEditingTransform());
|
||||
|
||||
onViewParameters.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user