File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -249,23 +249,23 @@ pub fn init_shapes(
249
249
major_radius : 2. ,
250
250
minor_radius : 0.2 ,
251
251
} ) ) ) ,
252
- MeshMaterial3d ( mat. clone ( ) ) ,
252
+ MeshMaterial3d ( mat. clone_weak ( ) ) ,
253
253
Transform :: from_xyz ( 0.0 , 0.0 , 0.0 ) ,
254
254
Shape ,
255
255
) ) ;
256
256
257
257
shape_options. 0 . push ( (
258
258
true ,
259
259
Mesh3d ( meshes. add ( Mesh :: from ( Cuboid :: new ( 1.85 , 1.85 , 1.85 ) ) ) ) ,
260
- MeshMaterial3d ( mat. clone ( ) ) ,
260
+ MeshMaterial3d ( mat. clone_weak ( ) ) ,
261
261
Transform :: from_xyz ( 0.0 , 0.3 , 0.0 ) ,
262
262
Shape ,
263
263
) ) ;
264
264
265
265
shape_options. 0 . push ( (
266
266
false ,
267
267
Mesh3d ( meshes. add ( Sphere { radius : 1.40 } ) ) ,
268
- MeshMaterial3d ( mat. clone ( ) ) ,
268
+ MeshMaterial3d ( mat. clone_weak ( ) ) ,
269
269
Transform :: from_xyz ( 0.0 , 0.3 , 0.0 ) ,
270
270
Shape ,
271
271
) ) ;
You can’t perform that action at this time.
0 commit comments