mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 07:15:37 +00:00
Fixes the inspector/component editor to display the components attached to an entity correctly in the inspector.
This commit is contained in:
parent
4f78143dc8
commit
b5277e0f08
10 changed files with 513 additions and 44 deletions
|
|
@ -89,6 +89,9 @@ public:
|
|||
else
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
S32 getComponentGroupTargetId() { return mComponentGroupTargetId; }
|
||||
void setComponentGroupTargetId(S32 compId) { mComponentGroupTargetId = compId; }
|
||||
|
||||
/// Return the number of objects being inspected by this GuiInspector.
|
||||
U32 getNumInspectObjects() const { return mTargets.size(); }
|
||||
|
|
@ -146,6 +149,8 @@ protected:
|
|||
|
||||
/// Objects being inspected by this GuiInspector.
|
||||
TargetVector mTargets;
|
||||
|
||||
S32 mComponentGroupTargetId;
|
||||
|
||||
F32 mDividerPos;
|
||||
S32 mDividerMargin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue