@@ -79,7 +79,7 @@ static mp_attr_fun_t empty_node_class_attr(mp_obj_t self_in, qstr attribute, mp_
7979 PARAM: [type={ref_link:Vector3}] [name=position] [value={ref_link:Vector3}]
8080 PARAM: [type={ref_link:Vector3}] [name=rotation] [value={ref_link:Vector3}]
8181 PARAM: [type=int] [name=layer] [value=0 ~ 127]
82- ATTR: [type=function] [name={ref_link:add_child}] [value=function]
82+ ATTR: [type=function] [name={ref_link:add_child}] [value=function]
8383 ATTR: [type=function] [name={ref_link:get_child}] [value=function]
8484 ATTR: [type=function] [name={ref_link:get_child_count}] [value=function]
8585 ATTR: [type=function] [name={ref_link:node_base_mark_destroy}] [value=function]
@@ -105,7 +105,7 @@ static mp_obj_t empty_node_class_new(const mp_obj_type_t *type, size_t n_args, s
105105 enum arg_ids {child_class , position , rotation , layer };
106106 bool inherited = false;
107107
108- // If there is one positional argument and it isn't the first
108+ // If there is one positional argument and it isn't the first
109109 // expected argument (as is expected when using positional
110110 // arguments) then define which way to parse the arguments
111111 if (n_args >= 1 && mp_obj_get_type (args [0 ]) != & vector3_class_type ){
@@ -176,7 +176,6 @@ static const mp_rom_map_elem_t empty_node_class_locals_dict_table[] = {
176176};
177177static MP_DEFINE_CONST_DICT (empty_node_class_locals_dict , empty_node_class_locals_dict_table ) ;
178178
179-
180179MP_DEFINE_CONST_OBJ_TYPE (
181180 engine_empty_node_class_type ,
182181 MP_QSTR_EmptyNode ,
@@ -185,4 +184,4 @@ MP_DEFINE_CONST_OBJ_TYPE(
185184 make_new , empty_node_class_new ,
186185 attr , empty_node_class_attr ,
187186 locals_dict , & empty_node_class_locals_dict
188- );
187+ );
0 commit comments