mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Adds ability to force the inspector to only show a set index of array'd fields. Mostly for specific editor tool use(like editing material's individual layers/stages)
This commit is contained in:
parent
1ee85334b0
commit
4646d5eac3
4 changed files with 232 additions and 145 deletions
|
|
@ -169,6 +169,8 @@ public:
|
|||
|
||||
void removeInspectorGroup(StringTableEntry groupName);
|
||||
|
||||
void setForcedArrayIndex(S32 arrayIndex);
|
||||
|
||||
protected:
|
||||
|
||||
typedef Vector< SimObjectPtr< SimObject > > TargetVector;
|
||||
|
|
@ -187,6 +189,7 @@ protected:
|
|||
SimObjectPtr<GuiInspectorField> mHLField;
|
||||
String mGroupFilters;
|
||||
bool mShowCustomFields;
|
||||
S32 mForcedArrayIndex;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue