refactor: standardize object type identification using uLibTypeMacro and update serialization macros
This commit is contained in:
@@ -46,7 +46,7 @@ namespace uLib {
|
||||
class Assembly : public ObjectsContext, public TRS {
|
||||
public:
|
||||
uLibTypeMacro(Assembly, ObjectsContext, TRS)
|
||||
virtual const char *GetClassName() const override { return "Assembly"; }
|
||||
|
||||
|
||||
Assembly();
|
||||
Assembly(const Assembly ©);
|
||||
@@ -113,6 +113,8 @@ private:
|
||||
bool m_GroupSelection;
|
||||
bool m_InUpdated = false;
|
||||
std::map<Object*, Connection> m_ChildConnections;
|
||||
|
||||
ULIB_DECLARE_PROPERTIES(Assembly)
|
||||
};
|
||||
|
||||
} // namespace uLib
|
||||
|
||||
Reference in New Issue
Block a user