You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Removed unused property hints and Object::get_translatable_strings()
* Remove unused `EditorPropertyMember` and related hints, previouly used by VisualScript. Such logic should be implemented in the VS module itself. * As the above broke compatibility with the VS module, clean up the other hacks that were still in core in support of VisualScript. * `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's `get_translatable_strings()`, which is a legacy function not used anywhere. So both are removed. * Reordered some usage flags after the above removal to minimize the diff. * General clean up. Fixes #30203. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
964fc6e15d
commit
0e0a6bb39b
@@ -74,27 +74,19 @@ namespace Godot.SourceGenerators
|
||||
ObjectId = 22,
|
||||
TypeString = 23,
|
||||
NodePathToEditedNode = 24,
|
||||
MethodOfVariantType = 25,
|
||||
MethodOfBaseType = 26,
|
||||
MethodOfInstance = 27,
|
||||
MethodOfScript = 28,
|
||||
PropertyOfVariantType = 29,
|
||||
PropertyOfBaseType = 30,
|
||||
PropertyOfInstance = 31,
|
||||
PropertyOfScript = 32,
|
||||
ObjectTooBig = 33,
|
||||
NodePathValidTypes = 34,
|
||||
SaveFile = 35,
|
||||
GlobalSaveFile = 36,
|
||||
IntIsObjectid = 37,
|
||||
IntIsPointer = 38,
|
||||
ArrayType = 39,
|
||||
LocaleId = 40,
|
||||
LocalizableString = 41,
|
||||
NodeType = 42,
|
||||
HideQuaternionEdit = 43,
|
||||
Password = 44,
|
||||
Max = 45
|
||||
ObjectTooBig = 25,
|
||||
NodePathValidTypes = 26,
|
||||
SaveFile = 27,
|
||||
GlobalSaveFile = 28,
|
||||
IntIsObjectid = 29,
|
||||
IntIsPointer = 30,
|
||||
ArrayType = 31,
|
||||
LocaleId = 32,
|
||||
LocalizableString = 33,
|
||||
NodeType = 34,
|
||||
HideQuaternionEdit = 35,
|
||||
Password = 36,
|
||||
Max = 37
|
||||
}
|
||||
|
||||
[Flags]
|
||||
@@ -103,9 +95,9 @@ namespace Godot.SourceGenerators
|
||||
None = 0,
|
||||
Storage = 2,
|
||||
Editor = 4,
|
||||
Checkable = 8,
|
||||
Checked = 16,
|
||||
Internationalized = 32,
|
||||
Internal = 8,
|
||||
Checkable = 16,
|
||||
Checked = 32,
|
||||
Group = 64,
|
||||
Category = 128,
|
||||
Subgroup = 256,
|
||||
@@ -118,7 +110,7 @@ namespace Godot.SourceGenerators
|
||||
ScriptDefaultValue = 32768,
|
||||
ClassIsEnum = 65536,
|
||||
NilIsVariant = 131072,
|
||||
Internal = 262144,
|
||||
Array = 262144,
|
||||
DoNotShareOnDuplicate = 524288,
|
||||
HighEndGfx = 1048576,
|
||||
NodePathFromSceneRoot = 2097152,
|
||||
@@ -128,9 +120,7 @@ namespace Godot.SourceGenerators
|
||||
EditorInstantiateObject = 33554432,
|
||||
EditorBasicSetting = 67108864,
|
||||
ReadOnly = 134217728,
|
||||
Array = 268435456,
|
||||
Default = 6,
|
||||
DefaultIntl = 38,
|
||||
NoEditor = 2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user