From 294abd89fa7abc43001347891e0713da75a831ee Mon Sep 17 00:00:00 2001 From: Andrew Varga Date: Sat, 10 May 2025 00:10:19 +0200 Subject: [PATCH 1/2] Add new "is_default_object" to MakePlane --- modeling-cmds/src/def_enum.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modeling-cmds/src/def_enum.rs b/modeling-cmds/src/def_enum.rs index 5034de0b..30a2a7c9 100644 --- a/modeling-cmds/src/def_enum.rs +++ b/modeling-cmds/src/def_enum.rs @@ -966,6 +966,9 @@ define_modeling_cmd_enum! { pub clobber: bool, /// If true, the plane will be created but hidden initially. pub hide: Option, + // If true, the plane is made a default object. Default objects like axis planes do not get + // included in scene bounding box calculations. + pub is_default_object: Option, } /// Set the color of a plane. From a17d4da4a0e42fd3018931c5a2ca1ca5b203908a Mon Sep 17 00:00:00 2001 From: Andrew Varga Date: Sat, 10 May 2025 00:18:29 +0200 Subject: [PATCH 2/2] fix doc comment syntax --- modeling-cmds/src/def_enum.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modeling-cmds/src/def_enum.rs b/modeling-cmds/src/def_enum.rs index 30a2a7c9..517ac733 100644 --- a/modeling-cmds/src/def_enum.rs +++ b/modeling-cmds/src/def_enum.rs @@ -966,8 +966,8 @@ define_modeling_cmd_enum! { pub clobber: bool, /// If true, the plane will be created but hidden initially. pub hide: Option, - // If true, the plane is made a default object. Default objects like axis planes do not get - // included in scene bounding box calculations. + /// If true, the plane is made a default object. Default objects like axis planes do not get + /// included in scene bounding box calculations. pub is_default_object: Option, }