col = split.column()
col.label(text="Alpha:")
col.prop(rd, "alpha_mode", text="")
-
-
+
+
class CyclesRender_PT_layers(CyclesButtonsPanel, Panel):
bl_label = "Layers"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_RENDER'}
+ bl_options = {'HIDE_HEADER'}
+ bl_context = "render_layer"
+ COMPAT_ENGINES = {'CYCLES'}
def draw(self, context):
layout = self.layout
col = split.column()
col.label()
- col.prop(mesh, "show_edge_seams", text="Seams")
+ if not with_freestyle:
+ col.prop(mesh, "show_edge_seams", text="Seams")
- col.prop(mesh, "show_edge_sharp", text="Sharp")
+ col.prop(mesh, "show_edge_sharp", text="Sharp", text_ctxt=i18n_contexts.plural)
col.prop(mesh, "show_edge_bevel_weight", text="Weights")
-
+ if with_freestyle:
+ col.prop(mesh, "show_freestyle_edge_marks", text="Edge Marks")
+ col.prop(mesh, "show_freestyle_face_marks", text="Face Marks")
+
col = layout.column()
col.separator()
void MESH_OT_delete(struct wmOperatorType *ot);
void MESH_OT_edge_collapse(struct wmOperatorType *ot);
void MESH_OT_edge_collapse_loop(struct wmOperatorType *ot);
- void MESH_OT_rip(struct wmOperatorType *ot);
+ void MESH_OT_faces_shade_smooth(struct wmOperatorType *ot);
+ void MESH_OT_faces_shade_flat(struct wmOperatorType *ot);
+ void MESH_OT_split(struct wmOperatorType *ot);
+ void MESH_OT_edge_rotate(struct wmOperatorType *ot);
+ void MESH_OT_hide(struct wmOperatorType *ot);
+ void MESH_OT_reveal(struct wmOperatorType *ot);
+ void MESH_OT_mark_seam(struct wmOperatorType *ot);
+ void MESH_OT_mark_sharp(struct wmOperatorType *ot);
+ void MESH_OT_noise(struct wmOperatorType *ot);
+ void MESH_OT_flip_normals(struct wmOperatorType *ot);
+ void MESH_OT_solidify(struct wmOperatorType *ot);
+ void MESH_OT_knife_cut(struct wmOperatorType *ot);
+ void MESH_OT_separate(struct wmOperatorType *ot);
+ void MESH_OT_fill(struct wmOperatorType *ot);
+ void MESH_OT_beautify_fill(struct wmOperatorType *ot);
+ void MESH_OT_quads_convert_to_tris(struct wmOperatorType *ot);
+ void MESH_OT_tris_convert_to_quads(struct wmOperatorType *ot);
+ void MESH_OT_dissolve(struct wmOperatorType *ot);
+ void MESH_OT_dissolve_limited(struct wmOperatorType *ot);
+ void MESH_OT_edge_face_add(struct wmOperatorType *ot);
+ void MESH_OT_duplicate(struct wmOperatorType *ot);
+ void MESH_OT_merge(struct wmOperatorType *ot);
+ void MESH_OT_remove_doubles(struct wmOperatorType *ot);
- void MESH_OT_shape_propagate_to_all(struct wmOperatorType *ot);
- void MESH_OT_blend_from_shape(struct wmOperatorType *ot);
- void MESH_OT_sort_elements(struct wmOperatorType *ot);
+#ifdef WITH_FREESTYLE
++void MESH_OT_mark_freestyle_edge(struct wmOperatorType *ot);
+void MESH_OT_mark_freestyle_face(struct wmOperatorType *ot);
+#endif
- /* ******************* mesh_data.c */
-
+ /* *** mesh_data.c *** */
void MESH_OT_uv_texture_add(struct wmOperatorType *ot);
void MESH_OT_uv_texture_remove(struct wmOperatorType *ot);
void MESH_OT_vertex_color_add(struct wmOperatorType *ot);
#define ME_DRAWEXTRA_EDGELEN (1 << 10)
#define ME_DRAWEXTRA_FACEAREA (1 << 11)
#define ME_DRAWEXTRA_FACEANG (1 << 12)
+ #define ME_DRAWEXTRA_EDGEANG (1 << 13)
/* debug only option */
- #define ME_DRAWEXTRA_INDICES (1 << 13)
+ #define ME_DRAWEXTRA_INDICES (1 << 14)
+#define ME_DRAW_FREESTYLE_EDGE (1 << 14)
+#define ME_DRAW_FREESTYLE_FACE (1 << 15)
+
/* Subsurf Type */
#define ME_CC_SUBSURF 0
#define ME_SIMPLE_SUBSURF 1