Skip to content

Commit 7ec7289

Browse files
committed
Fix append shape button
1 parent 4248156 commit 7ec7289

File tree

2 files changed

+219
-192
lines changed

2 files changed

+219
-192
lines changed

paint/sources/geom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function geom_make_plane(size_x: f32 = 1.0, size_y: f32 = 1.0, verts_x: i32 = 2,
44
let mesh: raw_mesh_t = {};
55
mesh.scale_pos = 1.0;
66
mesh.scale_tex = uv_scale;
7-
mesh.name = "";
7+
mesh.name = "Plane";
88
mesh.has_next = false;
99

1010
// Pack positions to (-1, 1) range
@@ -52,7 +52,7 @@ function geom_make_uv_sphere(radius: f32 = 1.0, width_segments: i32 = 32, height
5252
let mesh: raw_mesh_t = {};
5353
mesh.scale_pos = 1.0;
5454
mesh.scale_tex = 1.0;
55-
mesh.name = "";
55+
mesh.name = "Sphere";
5656
mesh.has_next = false;
5757

5858
// Pack positions to (-1, 1) range

0 commit comments

Comments
 (0)