mirror of
https://github.com/godotengine/godot
synced 2024-09-05 19:39:49 +00:00
Set QuadMesh default size back to 1
This commit is contained in:
parent
f74491fdee
commit
36cb3c4050
|
@ -12,5 +12,6 @@
|
|||
</tutorials>
|
||||
<members>
|
||||
<member name="orientation" type="int" setter="set_orientation" getter="get_orientation" overrides="PlaneMesh" enum="PlaneMesh.Orientation" default="2" />
|
||||
<member name="size" type="Vector2" setter="set_size" getter="get_size" overrides="PlaneMesh" default="Vector2(1, 1)" />
|
||||
</members>
|
||||
</class>
|
||||
|
|
|
@ -271,6 +271,7 @@ class QuadMesh : public PlaneMesh {
|
|||
public:
|
||||
QuadMesh() {
|
||||
set_orientation(FACE_Z);
|
||||
set_size(Size2(1, 1));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue