You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3804cfe
Browse filesBrowse the repository at this point in the historyBrowse files
Introduces new, more granular debug property flags (DebugMatrix, DebugRuntime, DebugUID) in PropertyFlags and updates their usage throughout the codebase. Splits editor debug options into EditorDebugFlags and PropertiesDisplayFlags, with corresponding getter methods and UI logic. Updates ImGui property visibility logic and refines property registration for improved debug property control. Also changes some warning logs to info logs in SoundComponent and AnimationComponent.
Copy file name to clipboardExpand all lines: src/core/IProperty.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ namespace vg::core
81
81
HasRange = 0x0000000000000010, // Property has [min..max] range
82
82
SingleLine = 0x0000000000000020, // This property and the following ones will be displayed on the same line to save space
83
83
Radio = 0x0000000000000040, // Part of a radio button group
84
-
Debug = 0x0000000000000080, // A misc debug property that is hidden by default
84
+
Debug = 0x0000000000000080, // A misc debug property that is hidden by default (use 'DebugXXX' categories instead whenever possible)
85
85
Bitfield = 0x0000000000000100, // Value displayed as hex, enum as flags
86
86
Resource = 0x0000000000000200, // Property is a Resource
87
87
Transient = 0x0000000000000400, // Property is not saved nor loaded
@@ -94,8 +94,9 @@ namespace vg::core
94
94
EulerAngle = 0x0000000000020000, // Edited value is Euler angle
95
95
AlphabeticalOrder = 0x0000000000040000, // Sort multiple values in alphabetical order (e.g., enums)
96
96
Alias = 0x0000000000080000, // Property can alias another property of the same class. Other property must be the same type and same size or larger (e.g. can be a float2 aliasing a float3 but not the other way around)
97
-
Runtime = 0x0000000000100000, // Property is a tuntime flag that is usually hidden
98
-
UID = 0x0000000000200000// Property is an UID that is usually hidden
97
+
DebugRuntime = 0x0000000000100000, // Property is a debug runtime flag that is usually hidden
98
+
DebugUID = 0x0000000000200000, // Property is an debug UID that is usually hidden
99
+
DebugMatrix = 0x0000000000400000// Property is a debug matrix that is usually hidden
0 commit comments