mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Allow to use the 3D editor with a toggle in the preferences
This commit is contained in:
@@ -350,19 +350,16 @@ const PreferencesDialog = ({ i18n, onClose }: Props) => {
|
||||
</Trans>
|
||||
}
|
||||
/>
|
||||
{/* TODO (3D) Remove development flag when the scene editor supports 3D display. */}
|
||||
{Window.isDev() && (
|
||||
<Toggle
|
||||
onToggle={(e, check) => setShowObjectInstancesIn3D(check)}
|
||||
toggled={values.showObjectInstancesIn3D}
|
||||
labelPosition="right"
|
||||
label={
|
||||
<Trans>
|
||||
Show objects in 3D in the scene editor (experimental)
|
||||
</Trans>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<Toggle
|
||||
onToggle={(e, check) => setShowObjectInstancesIn3D(check)}
|
||||
toggled={values.showObjectInstancesIn3D}
|
||||
labelPosition="right"
|
||||
label={
|
||||
<Trans>
|
||||
Show objects in 3D in the scene editor (experimental)
|
||||
</Trans>
|
||||
}
|
||||
/>
|
||||
{electron && (
|
||||
<>
|
||||
<ColumnStackLayout expand noMargin>
|
||||
|
Reference in New Issue
Block a user