forked from qt-creator/qt-creator
QmlDesigner: Disable 3D particle systems from running on puppets
Running 3D particle systems based on their application set properties is usually not desirable, so until we have proper solution for controlling particle systems from UI, we disable them entirely. Fixes: QDS-4773 Fixes: QDS-4801 Change-Id: I45682d8ac5a161a92be98fe9b0304ffb948f104f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -535,6 +535,7 @@ QProcessEnvironment PuppetCreator::processEnvironment() const
|
|||||||
import = QmlDesigner::Import::createLibraryImport("QtCharts", "2.0");
|
import = QmlDesigner::Import::createLibraryImport("QtCharts", "2.0");
|
||||||
if (m_model->hasImport(import, true, true))
|
if (m_model->hasImport(import, true, true))
|
||||||
environment.set("QMLDESIGNER_FORCE_QAPPLICATION", "true");
|
environment.set("QMLDESIGNER_FORCE_QAPPLICATION", "true");
|
||||||
|
environment.set("QT_QUICK3D_DISABLE_PARTICLE_SYSTEMS", "1");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QStringList importPaths = m_model->importPaths();
|
QStringList importPaths = m_model->importPaths();
|
||||||
|
Reference in New Issue
Block a user