From e681d27bb832bd197d006eb1b492f22589ee8eb8 Mon Sep 17 00:00:00 2001 From: Florian Rival Date: Sat, 3 Jun 2023 14:19:00 +0200 Subject: [PATCH] Allow to use the 3D editor with a toggle in the preferences --- .../Preferences/PreferencesDialog.js | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/newIDE/app/src/MainFrame/Preferences/PreferencesDialog.js b/newIDE/app/src/MainFrame/Preferences/PreferencesDialog.js index 497e608e3a..088439b5d6 100644 --- a/newIDE/app/src/MainFrame/Preferences/PreferencesDialog.js +++ b/newIDE/app/src/MainFrame/Preferences/PreferencesDialog.js @@ -350,19 +350,16 @@ const PreferencesDialog = ({ i18n, onClose }: Props) => { } /> - {/* TODO (3D) Remove development flag when the scene editor supports 3D display. */} - {Window.isDev() && ( - setShowObjectInstancesIn3D(check)} - toggled={values.showObjectInstancesIn3D} - labelPosition="right" - label={ - - Show objects in 3D in the scene editor (experimental) - - } - /> - )} + setShowObjectInstancesIn3D(check)} + toggled={values.showObjectInstancesIn3D} + labelPosition="right" + label={ + + Show objects in 3D in the scene editor (experimental) + + } + /> {electron && ( <>