diff options
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 2d503cd3fc87..1e6cf272aba9 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -79,6 +79,8 @@ #include <svx/xlnstwit.hxx> #include <svx/xlnwtit.hxx> +#include <svtools/miscopt.hxx> + #include <tools/diagnose_ex.h> #include <unotools/useroptions.hxx> @@ -1169,6 +1171,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) #if HAVE_FEATURE_GLTF case SID_INSERT_3DMODEL: { + if( !SvtMiscOptions().IsExperimentalMode() ) + break; + SetCurrentFunction( FuInsert3DModel::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) ); Cancel(); |