Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/editmesh_tools.c
| Show First 20 Lines • Show All 6,747 Lines • ▼ Show 20 Lines | RNA_def_float_distance(ot->srna, "threshold", 0.05f, 0.0f, 10.0f, "Threshold", | ||||
| "Distance within which matching vertices are searched", 1e-4f, 1.0f); | "Distance within which matching vertices are searched", 1e-4f, 1.0f); | ||||
| RNA_def_float(ot->srna, "factor", 0.5f, 0.0f, 1.0f, "Factor", | RNA_def_float(ot->srna, "factor", 0.5f, 0.0f, 1.0f, "Factor", | ||||
| "Mix factor of the locations of the vertices", 0.0f, 1.0f); | "Mix factor of the locations of the vertices", 0.0f, 1.0f); | ||||
| RNA_def_boolean(ot->srna, "use_center", true, "Center", "Snap middle vertices to the axis center"); | RNA_def_boolean(ot->srna, "use_center", true, "Center", "Snap middle vertices to the axis center"); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| #ifdef WITH_FREESTYLE | /* preserve the edge marking capability */ | ||||
| //#ifdef WITH_FREESTYLE | |||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Mark Edge (FreeStyle) Operator | /** \name Mark Edge (FreeStyle) Operator | ||||
| * \{ */ | * \{ */ | ||||
| static int edbm_mark_freestyle_edge_exec(bContext *C, wmOperator *op) | static int edbm_mark_freestyle_edge_exec(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| BMEdge *eed; | BMEdge *eed; | ||||
| ▲ Show 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | void MESH_OT_mark_freestyle_face(wmOperatorType *ot) | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| prop = RNA_def_boolean(ot->srna, "clear", false, "Clear", ""); | prop = RNA_def_boolean(ot->srna, "clear", false, "Clear", ""); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| #endif /* WITH_FREESTYLE */ | //#endif /* WITH_FREESTYLE */ | ||||