[Bf-blender-cvs] [4f8a881715c] master: Fix T78444: Duplicate "From Radius" in Cast Modifier UI

Hans Goudey noreply at git.blender.org
Mon Jun 29 20:41:56 CEST 2020


Commit: 4f8a881715ca71599c1f4ee82b76cbce0a02b4d9
Author: Hans Goudey
Date:   Mon Jun 29 14:41:46 2020 -0400
Branches: master
https://developer.blender.org/rB4f8a881715ca71599c1f4ee82b76cbce0a02b4d9

Fix T78444: Duplicate "From Radius" in Cast Modifier UI

This button was meant to be "Use Transform"

===================================================================

M	source/blender/modifiers/intern/MOD_cast.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c
index 9f588a4d345..cc9def73e12 100644
--- a/source/blender/modifiers/intern/MOD_cast.c
+++ b/source/blender/modifiers/intern/MOD_cast.c
@@ -565,7 +565,7 @@ static void panel_draw(const bContext *C, Panel *panel)
 
   uiItemR(layout, &ptr, "object", 0, NULL, ICON_NONE);
   if (!RNA_pointer_is_null(&cast_object_ptr)) {
-    uiItemR(layout, &ptr, "use_radius_as_size", 0, NULL, ICON_NONE);
+    uiItemR(layout, &ptr, "use_transform", 0, NULL, ICON_NONE);
   }
 
   modifier_panel_end(layout, &ptr);



More information about the Bf-blender-cvs mailing list