Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_remesh.c
| Show First 20 Lines • Show All 596 Lines • ▼ Show 20 Lines | RNA_def_boolean(ot->srna, | ||||
| "smooth_normals", | "smooth_normals", | ||||
| false, | false, | ||||
| "Smooth Normals", | "Smooth Normals", | ||||
| "Set the output mesh normals to smooth"); | "Set the output mesh normals to smooth"); | ||||
| RNA_def_enum(ot->srna, | RNA_def_enum(ot->srna, | ||||
| "mode", | "mode", | ||||
| mode_type_items, | mode_type_items, | ||||
| 0, | QUADRIFLOW_REMESH_FACES, | ||||
| "Mode", | "Mode", | ||||
| "How to specify the amount of detail for the new mesh"); | "How to specify the amount of detail for the new mesh"); | ||||
| prop = RNA_def_float(ot->srna, | prop = RNA_def_float(ot->srna, | ||||
| "target_ratio", | "target_ratio", | ||||
| 1, | 1, | ||||
| 0, | 0, | ||||
| FLT_MAX, | FLT_MAX, | ||||
| Show All 9 Lines | prop = RNA_def_float(ot->srna, | ||||
| FLT_MAX, | FLT_MAX, | ||||
| "Edge Length", | "Edge Length", | ||||
| "Target edge length in the new mesh", | "Target edge length in the new mesh", | ||||
| 0.00001f, | 0.00001f, | ||||
| 1.0f); | 1.0f); | ||||
| prop = RNA_def_int(ot->srna, | prop = RNA_def_int(ot->srna, | ||||
| "target_faces", | "target_faces", | ||||
| 1, | 4000, | ||||
| 1, | 1, | ||||
| INT_MAX, | INT_MAX, | ||||
| "Number of Faces", | "Number of Faces", | ||||
| "Approximate number of faces (quads) in the new mesh", | "Approximate number of faces (quads) in the new mesh", | ||||
| 1, | 1, | ||||
| INT_MAX); | INT_MAX); | ||||
| prop = RNA_def_float( | prop = RNA_def_float( | ||||
| Show All 22 Lines | |||||