Change defaults for planar-face tool

This commit is contained in:
Campbell Barton 2015-06-21 12:52:37 +10:00
parent 9ddb624a88
commit 8be4d76204
Notes: blender-bot 2023-02-14 11:29:52 +01:00
Referenced by issue #45455, Select Linked is inconsistant
Referenced by issue #45170, Opening new scene puts wireframe over all objects
Referenced by issue #45155, Cycles - Viewport Rendering sometimes crashes when click-drag changing a value
Referenced by issue #45145, Camera scale bug - Cannot select when camera scale != 1 & looking through camera
Referenced by issue #45117, Dark dupliface objects in viewport
Referenced by issue #44320, Unwanted merges of UV vertices, also makes importing FBX in mudbox fail.
1 changed files with 2 additions and 3 deletions

View File

@ -1342,9 +1342,8 @@ void MESH_OT_face_make_planar(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
/* props */
RNA_def_float(ot->srna, "factor", 0.5f, -10.0f, 10.0f, "Factor", "", 0.0f, 1.0f);
RNA_def_int(ot->srna, "repeat", 1, 1, 200,
"Number of iterations to flatten faces", "", 1, 200);
RNA_def_float(ot->srna, "factor", 1.0f, -10.0f, 10.0f, "Factor", "", 0.0f, 1.0f);
RNA_def_int(ot->srna, "repeat", 1, 1, 200, "Iterations", "", 1, 200);
}