Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/editmesh_extrude_screw.c
| Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | void MESH_OT_screw(wmOperatorType *ot) | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| /* props */ | /* props */ | ||||
| RNA_def_int(ot->srna, "steps", 9, 1, 100000, "Steps", "Steps", 3, 256); | RNA_def_int(ot->srna, "steps", 9, 1, 100000, "Steps", "Steps", 3, 256); | ||||
| RNA_def_int(ot->srna, "turns", 1, 1, 100000, "Turns", "Turns", 1, 256); | RNA_def_int(ot->srna, "turns", 1, 1, 100000, "Turns", "Turns", 1, 256); | ||||
| RNA_def_float_vector(ot->srna, "center", 3, NULL, -1e12f, 1e12f, | RNA_def_float_vector_xyz(ot->srna, "center", 3, NULL, -1e12f, 1e12f, | ||||
| "Center", "Center in global view space", -1e4f, 1e4f); | "Center", "Center in global view space", -1e4f, 1e4f); | ||||
| RNA_def_float_vector(ot->srna, "axis", 3, NULL, -1.0f, 1.0f, | RNA_def_float_vector(ot->srna, "axis", 3, NULL, -1.0f, 1.0f, | ||||
| "Axis", "Axis in global view space", -1.0f, 1.0f); | "Axis", "Axis in global view space", -1.0f, 1.0f); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||