QmlDesigner: Remove misplaced EffectMaker

I could not find any qml module for effect maker. So it will break the
meta info system.

Change-Id: I7a9593a3033e51cb3a0cc922a6f913dfee63338d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2023-07-19 12:15:44 +02:00
parent e46eb57543
commit 601308edcd
5 changed files with 0 additions and 17 deletions

View File

@@ -100,9 +100,6 @@ ChooseFromPropertyListFilter::ChooseFromPropertyListFilter(const NodeMetaInfo &i
} else if (insertInfo.typeName().startsWith("ComponentBundles.MaterialBundle")) {
if (parentInfo.isQtQuick3DModel())
propertyList.append("materials");
} else if (insertInfo.isEffectMaker()) {
if (parentInfo.isQtQuickItem())
propertyList.append("effect");
} else if (insertInfo.isQtQuick3DBakedLightmap()) {
if (parentInfo.isQtQuick3DModel())
propertyList.append("bakedLightmap");

View File

@@ -287,7 +287,6 @@ void NavigatorView::dragStarted(QMimeData *mimeData)
if (assetType == Constants::MIME_TYPE_ASSET_EFFECT) {
// We use arbitrary type name because at this time we don't have effect maker
// specific type
m_widget->setDragType(Storage::Info::EffectMaker);
m_widget->update();
} else if (assetType == Constants::MIME_TYPE_ASSET_TEXTURE3D) {
m_widget->setDragType(Constants::MIME_TYPE_ASSET_TEXTURE3D);

View File

@@ -113,7 +113,6 @@ public:
bool isAlias() const;
bool isBool() const;
bool isColor() const;
bool isEffectMaker() const;
bool isFloat() const;
bool isFlowViewFlowActionArea() const;
bool isFlowViewFlowDecision() const;

View File

@@ -2691,17 +2691,6 @@ bool NodeMetaInfo::isColor() const
}
}
bool NodeMetaInfo::isEffectMaker() const
{
// We use arbitrary type name because at this time we don't have effect maker
// specific type
if constexpr (useProjectStorage()) {
return false;
} else {
return typeName() == QString::fromUtf8(Storage::Info::EffectMaker);
}
}
bool NodeMetaInfo::isBool() const
{
if constexpr (useProjectStorage()) {

View File

@@ -37,7 +37,6 @@ inline constexpr char DefaultMaterial[] = "DefaultMaterial";
inline constexpr char Dialog[] = "Dialog";
inline constexpr char DoubleType[] = "double";
inline constexpr char Effect[] = "Effect";
inline constexpr char EffectMaker[] = "EffectMaker";
inline constexpr char FloatType[] = "float";
inline constexpr char FlowActionArea[] = "FlowActionArea";
inline constexpr char FlowDecision[] = "FlowDecision";