FreeCAD: master 503f987c

Author Committer Branch Timestamp Parent
wmayer wmayer master 2019-09-13 22:52:09 master 22babc09
Changeset Add virtual method allowOverrideViewProviderName to DocumentObject to indicate if a DocumentObject's view provider type can be overriden.
For most object types this is not allowed to avoid to create incompatible combinations via Python or manipulated project files and possibly provoke crashes.

For more details see also: https://forum.freecadweb.org/viewtopic.php?f=10&t=38970&p=333951#p333951
mod - src/App/Document.cpp Diff File
mod - src/App/DocumentObject.h Diff File
mod - src/App/FeaturePython.cpp Diff File
mod - src/App/FeaturePython.h Diff File