construct::opal::DefinitionPublishTask
OPAL task construct.definition.publish: copy one of the definitions of this document to the user library.
| Declared in | src/libs/libconstruct/construct/opal/DefinitionAddTask.hpp |
| Inherits | construct::opal::ConstructMutationTask |
| Group | construct |
Detailed description
The library gets its own copy, and every project can place it. The document keeps its own copy (construct-multi-document MD-37). The task takes definitionId, an optional libraryId that defaults to the same id, and replace, which lets it replace a library definition that has that id already.
The one publish operation is registry::Registry::publishToLibrary(). The button of the editor, the scene tree and the finder use the same operation.
See also DefinitionAddTask.