FreeCAD: staging bb52ff1d
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
Zheng, Lei | Zheng, Lei | staging | 2019-07-10 04:41:44 | staging 1a49b93b |
Changeset | Gui: support in-place editing The link support means that an object can now appear in more than one places, and even inside a document different from its own. This patch adds support for in-place editing, meaning that the object can be edited at correct place regardless where it is. See [here](https://git.io/fjPIk) for more info about the relavent APIs. This patch includes two example of modifications to support in-place editing. One is the ViewProviderDragger, which simply adds the dragger node to editing root node by calling View3DInventorViewer::setupEditingRoot(dragger). The other much more complex one is ViewProviderSketch which calls setupEditingRoot(0) to transfer all its children node into editing root. ViewProviderSketch also includes various modifications to command invocation, because we can no longer assume the active document is the owner of the editing object. This patch also includes necessary modification of the 'Show' module to support in-place editing. |
|||
mod - src/Gui/Application.cpp | Diff File | |||
mod - src/Gui/Application.h | Diff File | |||
mod - src/Gui/ApplicationPy.cpp | Diff File | |||
mod - src/Gui/Document.cpp | Diff File | |||
mod - src/Gui/Document.h | Diff File | |||
mod - src/Gui/View3DInventorViewer.cpp | Diff File | |||
mod - src/Gui/View3DInventorViewer.h | Diff File | |||
mod - src/Gui/View3DPy.cpp | Diff File | |||
mod - src/Gui/View3DPy.h | Diff File | |||
mod - src/Gui/View3DViewerPy.cpp | Diff File | |||
mod - src/Gui/View3DViewerPy.h | Diff File | |||
mod - src/Gui/ViewProvider.cpp | Diff File | |||
mod - src/Gui/ViewProviderDragger.cpp | Diff File | |||
mod - src/Gui/ViewProviderDragger.h | Diff File | |||
mod - src/Mod/Show/Containers.py | Diff File | |||
mod - src/Mod/Show/DepGraphTools.py | Diff File | |||
mod - src/Mod/Show/TempoVis.py | Diff File | |||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | Diff File | |||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.h | Diff File |