Merge pull request #66315 from clayjohn/QuadMesh-size

Set QuadMesh default size back to 1
This commit is contained in:
Rémi Verschelde 2022-09-24 22:59:25 +02:00 committed by GitHub
commit 340f6e93d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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>

View file

@ -271,6 +271,7 @@ class QuadMesh : public PlaneMesh {
public:
QuadMesh() {
set_orientation(FACE_Z);
set_size(Size2(1, 1));
}
};