|
@@ -1289,6 +1289,7 @@ void la_RegisterInternalProps(){
|
|
|
laPropContainerExtraFunctions(p,0,0,tnspropagate_Object,0);
|
|
|
TNS_PC_OBJECT_GENERIC=p;
|
|
|
laAddStringProperty(p, "name", "Object Name", "The Name Of The Object", 0, 0, 0, 0, 1, offsetof(tnsObject, Name), 0, 0, 0, 0, LA_AS_IDENTIFIER);
|
|
|
+ laAddIntProperty(p,"flags","Flags","Flags",0,0,0,0,0,0,0,0,offsetof(tnsObject,Flags),0,0,0,0,0,0,0,0,0,0,LA_READ_ONLY);
|
|
|
ep = laAddEnumProperty(p, "show", "Show", "Show object in the viewport", 0, 0, 0, 0, 0, offsetof(tnsObject, Show), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);{
|
|
|
laAddEnumItem(ep, "false", "False", "False", L'🌔');
|
|
|
laAddEnumItem(ep, "true", "IsTrue", "IsTrue", L'🌑');
|
|
@@ -1318,6 +1319,7 @@ void la_RegisterInternalProps(){
|
|
|
laAddEnumItem(ep, "quaternion", "Quaternion", "Quaternion Mode", 0);
|
|
|
}
|
|
|
laAddSubGroup(p, "active", "Active", "Active reference", "tns_object",0, 0, 0, offsetof(tnsObject, Active), 0, 0, 0, 0, 0, 0, 0, LA_UDF_REFER|LA_READ_ONLY);
|
|
|
+ laAddSubGroup(p, "in_root", "In Root", "Root object of this object", "tns_object",0, 0, 0, offsetof(tnsObject, InRoot), 0, 0, 0, 0, 0, 0, 0, LA_UDF_REFER);
|
|
|
laAddSubGroup(p, "parent", "Parent", "Object parent", "tns_object",0, 0, 0, offsetof(tnsObject, ParentObject), 0, 0, 0, 0, 0, 0, 0, LA_UDF_REFER);
|
|
|
laAddSubGroup(p, "children", "Children", "The Children Of This Object", "tns_child_object",0, 0, 0, -1, 0, 0, 0, 0, 0, 0, offsetof(tnsObject, ChildObjects), 0);
|
|
|
}
|