[Bf-blender-cvs] [c55c15bb775] master: Fix T59870: Can't select "Face area" in average normals operator.

Bastien Montagne noreply at git.blender.org
Thu Dec 27 17:36:32 CET 2018


Commit: c55c15bb775095a68ee3f2e68b052d2a8166417a
Author: Bastien Montagne
Date:   Thu Dec 27 17:35:37 2018 +0100
Branches: master
https://developer.blender.org/rBc55c15bb775095a68ee3f2e68b052d2a8166417a

Fix T59870: Can't select "Face area" in average normals operator.

Not sure why the mode prop was hidden at all, tbh...

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

M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index c8b3296d0d7..27ff9333492 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -7940,7 +7940,6 @@ void MESH_OT_average_normals(struct wmOperatorType *ot)
 
 	ot->prop = RNA_def_enum(ot->srna, "average_type", average_method_items, EDBM_CLNOR_AVERAGE_LOOP,
 	                        "Type", "Averaging method");
-	RNA_def_property_flag(ot->prop, PROP_HIDDEN);
 
 	RNA_def_int(ot->srna, "weight", 50, 1, 100, "Weight", "Weight applied per face", 1, 100);



More information about the Bf-blender-cvs mailing list