*/}}
Browse Source

Do not use extra propagation for other object type

YimingWu 1 năm trước cách đây
mục cha
commit
c926dab65d
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      resources/la_properties.c

+ 3 - 3
resources/la_properties.c

@@ -1480,7 +1480,7 @@ void la_RegisterInternalProps(){
         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);
     }
     p = laAddPropertyContainer("tns_mesh_object", "Mesh Object", "Mesh object", 0,0,sizeof(tnsMeshObject), tnspost_Object, 0,2);{
-        laPropContainerExtraFunctions(p,0,0,tnstouched_Object,tnspropagate_Object,0);
+        //laPropContainerExtraFunctions(p,0,0,tnstouched_Object,tnspropagate_Object,0);
         TNS_PC_OBJECT_MESH=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);
         laAddSubGroup(p, "base", "Base", "Object base", "tns_object",0,0,0,0,0,0,0,0,0,0,0,LA_UDF_LOCAL);
@@ -1505,7 +1505,7 @@ void la_RegisterInternalProps(){
         //laAddIntProperty(p, "maxf", "Max Face", "Max Face count", 0,0,0,0,0,0,0,0,offsetof(tnsMeshObject, maxf),0,0,0,0,0,0,0,0,0,0,LA_READ_ONLY);
     }
     p = laAddPropertyContainer("tns_camera", "Camera", "Camera object", U'📷', 0,sizeof(tnsCamera), 0,0,2);{
-        laPropContainerExtraFunctions(p,0,0,0,tnspropagate_Object,0);
+        //laPropContainerExtraFunctions(p,0,0,0,tnspropagate_Object,0);
         TNS_PC_OBJECT_CAMERA=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);
         laAddSubGroup(p, "base", "Base", "Object base", "tns_object",0,0,0,0,0,0,0,0,0,0,0,LA_UDF_LOCAL);
@@ -1520,7 +1520,7 @@ void la_RegisterInternalProps(){
         laAddOperatorProperty(p, "set_active", "Set Active", "Set this camera as the active one", "TNS_set_active_camera", 0,0);
     }
     p = laAddPropertyContainer("tns_light", "Light", "Light object", U'🔅', 0,sizeof(tnsLight), 0,0,2);{
-        laPropContainerExtraFunctions(p,0,0,0,tnspropagate_Object,0);
+        //laPropContainerExtraFunctions(p,0,0,0,tnspropagate_Object,0);
         TNS_PC_OBJECT_LIGHT=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);
         laAddSubGroup(p, "base", "Base", "Object base", "tns_object",0,0,0,0,0,0,0,0,0,0,0,LA_UDF_LOCAL);