Merge pull request #19545 from akien-mga/gizmos-defval
Fix invalid DEFVAL in SpatialEditorGizmo::add_unscaled_billboard
This commit is contained in:
commit
4da621603e
|
@ -24,8 +24,6 @@
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="triangles" type="TriangleMesh">
|
<argument index="0" name="triangles" type="TriangleMesh">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="bounds" type="AABB">
|
|
||||||
</argument>
|
|
||||||
<description>
|
<description>
|
||||||
Add collision triangles to the gizmo for picking. A [TriangleMesh] can be generated from a regular [Mesh] too. Call this function during [method redraw].
|
Add collision triangles to the gizmo for picking. A [TriangleMesh] can be generated from a regular [Mesh] too. Call this function during [method redraw].
|
||||||
</description>
|
</description>
|
||||||
|
|
|
@ -11,6 +11,12 @@
|
||||||
<demos>
|
<demos>
|
||||||
</demos>
|
</demos>
|
||||||
<methods>
|
<methods>
|
||||||
|
<method name="generate_triangle_mesh" qualifiers="const">
|
||||||
|
<return type="TriangleMesh">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="get_item_rect" qualifiers="const">
|
<method name="get_item_rect" qualifiers="const">
|
||||||
<return type="Rect2">
|
<return type="Rect2">
|
||||||
</return>
|
</return>
|
||||||
|
|
|
@ -715,7 +715,7 @@ void EditorSpatialGizmo::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("add_mesh", "mesh", "billboard", "skeleton"), &EditorSpatialGizmo::add_mesh, DEFVAL(false), DEFVAL(RID()));
|
ClassDB::bind_method(D_METHOD("add_mesh", "mesh", "billboard", "skeleton"), &EditorSpatialGizmo::add_mesh, DEFVAL(false), DEFVAL(RID()));
|
||||||
ClassDB::bind_method(D_METHOD("add_collision_segments", "segments"), &EditorSpatialGizmo::add_collision_segments);
|
ClassDB::bind_method(D_METHOD("add_collision_segments", "segments"), &EditorSpatialGizmo::add_collision_segments);
|
||||||
ClassDB::bind_method(D_METHOD("add_collision_triangles", "triangles"), &EditorSpatialGizmo::add_collision_triangles);
|
ClassDB::bind_method(D_METHOD("add_collision_triangles", "triangles"), &EditorSpatialGizmo::add_collision_triangles);
|
||||||
ClassDB::bind_method(D_METHOD("add_unscaled_billboard", "material", "default_scale"), &EditorSpatialGizmo::add_unscaled_billboard, DEFVAL(1), DEFVAL(true));
|
ClassDB::bind_method(D_METHOD("add_unscaled_billboard", "material", "default_scale"), &EditorSpatialGizmo::add_unscaled_billboard, DEFVAL(1));
|
||||||
ClassDB::bind_method(D_METHOD("add_handles", "handles", "billboard", "secondary"), &EditorSpatialGizmo::add_handles, DEFVAL(false), DEFVAL(false));
|
ClassDB::bind_method(D_METHOD("add_handles", "handles", "billboard", "secondary"), &EditorSpatialGizmo::add_handles, DEFVAL(false), DEFVAL(false));
|
||||||
ClassDB::bind_method(D_METHOD("set_spatial_node", "node"), &EditorSpatialGizmo::_set_spatial_node);
|
ClassDB::bind_method(D_METHOD("set_spatial_node", "node"), &EditorSpatialGizmo::_set_spatial_node);
|
||||||
ClassDB::bind_method(D_METHOD("clear"), &EditorSpatialGizmo::clear);
|
ClassDB::bind_method(D_METHOD("clear"), &EditorSpatialGizmo::clear);
|
||||||
|
|
Loading…
Reference in New Issue