Revert "Icons: Add GPencil Extrude and Radius icons"
authorWilliam Reynish <billrey@me.com>
Fri, 8 Mar 2019 12:07:20 +0000 (13:07 +0100)
committerWilliam Reynish <billrey@me.com>
Fri, 8 Mar 2019 12:07:20 +0000 (13:07 +0100)
This reverts commit a44d75a9646cc37b3b6b10decd22db90247795d2.

31 files changed:
release/datafiles/icons/brush.gpencil_draw.draw.dat
release/datafiles/icons/brush.gpencil_draw.erase.dat
release/datafiles/icons/brush.gpencil_draw.fill.dat
release/datafiles/icons/brush.paint_texture.clone.dat
release/datafiles/icons/brush.paint_texture.draw.dat
release/datafiles/icons/brush.paint_texture.fill.dat
release/datafiles/icons/brush.paint_texture.mask.dat
release/datafiles/icons/brush.paint_texture.smear.dat
release/datafiles/icons/brush.paint_texture.soften.dat
release/datafiles/icons/brush.paint_vertex.average.dat
release/datafiles/icons/brush.paint_vertex.blur.dat
release/datafiles/icons/brush.paint_vertex.draw.dat
release/datafiles/icons/brush.paint_vertex.smear.dat
release/datafiles/icons/brush.paint_weight.average.dat
release/datafiles/icons/brush.paint_weight.blur.dat
release/datafiles/icons/brush.paint_weight.draw.dat
release/datafiles/icons/brush.paint_weight.smear.dat
release/datafiles/icons/ops.gpencil.extrude_move.dat [deleted file]
release/datafiles/icons/ops.gpencil.primitive_arc.dat
release/datafiles/icons/ops.gpencil.primitive_box.dat
release/datafiles/icons/ops.gpencil.primitive_circle.dat
release/datafiles/icons/ops.gpencil.primitive_curve.dat
release/datafiles/icons/ops.gpencil.primitive_line.dat
release/datafiles/icons/ops.gpencil.radius.dat [deleted file]
release/datafiles/icons/ops.gpencil.stroke_cutter.dat
release/datafiles/icons/ops.paint.weight_fill.dat
release/datafiles/icons/ops.paint.weight_gradient.dat
release/datafiles/icons/ops.paint.weight_sample.dat
release/datafiles/icons/ops.paint.weight_sample_group.dat
release/scripts/startup/bl_ui/properties_output.py
source/blender/editors/datafiles/CMakeLists.txt

index 2bfbae2..8373567 100644 (file)
Binary files a/release/datafiles/icons/brush.gpencil_draw.draw.dat and b/release/datafiles/icons/brush.gpencil_draw.draw.dat differ
index 7a6b69d..2adf274 100644 (file)
Binary files a/release/datafiles/icons/brush.gpencil_draw.erase.dat and b/release/datafiles/icons/brush.gpencil_draw.erase.dat differ
index 1a7b71e..67ba3fd 100644 (file)
Binary files a/release/datafiles/icons/brush.gpencil_draw.fill.dat and b/release/datafiles/icons/brush.gpencil_draw.fill.dat differ
index 4ea56d1..8b1b35b 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_texture.clone.dat and b/release/datafiles/icons/brush.paint_texture.clone.dat differ
index cdb4ccf..e3871a7 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_texture.draw.dat and b/release/datafiles/icons/brush.paint_texture.draw.dat differ
index 1a7b71e..67ba3fd 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_texture.fill.dat and b/release/datafiles/icons/brush.paint_texture.fill.dat differ
index 29feb1d..0cf6a34 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_texture.mask.dat and b/release/datafiles/icons/brush.paint_texture.mask.dat differ
index 3695864..ec745df 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_texture.smear.dat and b/release/datafiles/icons/brush.paint_texture.smear.dat differ
index 8c54780..ba597de 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_texture.soften.dat and b/release/datafiles/icons/brush.paint_texture.soften.dat differ
index f082d7e..953e29a 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_vertex.average.dat and b/release/datafiles/icons/brush.paint_vertex.average.dat differ
index 8c54780..ba597de 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_vertex.blur.dat and b/release/datafiles/icons/brush.paint_vertex.blur.dat differ
index c1a8796..e3871a7 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_vertex.draw.dat and b/release/datafiles/icons/brush.paint_vertex.draw.dat differ
index 6946554..ec745df 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_vertex.smear.dat and b/release/datafiles/icons/brush.paint_vertex.smear.dat differ
index f082d7e..953e29a 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_weight.average.dat and b/release/datafiles/icons/brush.paint_weight.average.dat differ
index 8c54780..ba597de 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_weight.blur.dat and b/release/datafiles/icons/brush.paint_weight.blur.dat differ
index cdb4ccf..e3871a7 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_weight.draw.dat and b/release/datafiles/icons/brush.paint_weight.draw.dat differ
index 3695864..ec745df 100644 (file)
Binary files a/release/datafiles/icons/brush.paint_weight.smear.dat and b/release/datafiles/icons/brush.paint_weight.smear.dat differ
diff --git a/release/datafiles/icons/ops.gpencil.extrude_move.dat b/release/datafiles/icons/ops.gpencil.extrude_move.dat
deleted file mode 100644 (file)
index 755e0ab..0000000
Binary files a/release/datafiles/icons/ops.gpencil.extrude_move.dat and /dev/null differ
index 8527639..826748b 100644 (file)
Binary files a/release/datafiles/icons/ops.gpencil.primitive_arc.dat and b/release/datafiles/icons/ops.gpencil.primitive_arc.dat differ
index 80525d8..0dabb92 100644 (file)
Binary files a/release/datafiles/icons/ops.gpencil.primitive_box.dat and b/release/datafiles/icons/ops.gpencil.primitive_box.dat differ
index 3bf346e..bdc133c 100644 (file)
Binary files a/release/datafiles/icons/ops.gpencil.primitive_circle.dat and b/release/datafiles/icons/ops.gpencil.primitive_circle.dat differ
index 45a72c1..e9b970e 100644 (file)
Binary files a/release/datafiles/icons/ops.gpencil.primitive_curve.dat and b/release/datafiles/icons/ops.gpencil.primitive_curve.dat differ
index 8c64bb5..153b312 100644 (file)
Binary files a/release/datafiles/icons/ops.gpencil.primitive_line.dat and b/release/datafiles/icons/ops.gpencil.primitive_line.dat differ
diff --git a/release/datafiles/icons/ops.gpencil.radius.dat b/release/datafiles/icons/ops.gpencil.radius.dat
deleted file mode 100644 (file)
index 1c887bc..0000000
Binary files a/release/datafiles/icons/ops.gpencil.radius.dat and /dev/null differ
index e0cd9ae..d7300d9 100644 (file)
Binary files a/release/datafiles/icons/ops.gpencil.stroke_cutter.dat and b/release/datafiles/icons/ops.gpencil.stroke_cutter.dat differ
index 1a7b71e..67ba3fd 100644 (file)
Binary files a/release/datafiles/icons/ops.paint.weight_fill.dat and b/release/datafiles/icons/ops.paint.weight_fill.dat differ
index 43b2c95..0908966 100644 (file)
Binary files a/release/datafiles/icons/ops.paint.weight_gradient.dat and b/release/datafiles/icons/ops.paint.weight_gradient.dat differ
index 01d4194..134e371 100644 (file)
Binary files a/release/datafiles/icons/ops.paint.weight_sample.dat and b/release/datafiles/icons/ops.paint.weight_sample.dat differ
index 7860094..8278973 100644 (file)
Binary files a/release/datafiles/icons/ops.paint.weight_sample_group.dat and b/release/datafiles/icons/ops.paint.weight_sample_group.dat differ
index 3d810a5..bd96152 100644 (file)
@@ -54,18 +54,21 @@ class RenderOutputButtonsPanel:
         return (context.engine in cls.COMPAT_ENGINES)
 
 
-class RENDER_PT_format(RenderOutputButtonsPanel, Panel):
-    bl_label = "Project Format"
+class RENDER_PT_dimensions(RenderOutputButtonsPanel, Panel):
+    bl_label = "Dimensions"
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
 
-    _preset_class = None
     _frame_rate_args_prev = None
+    _preset_class = None
+
+    def draw_header_preset(self, context):
+        RENDER_PT_presets.draw_panel_header(self.layout)
 
     @staticmethod
     def _draw_framerate_label(*args):
         # avoids re-creating text string each draw
-        if RENDER_PT_format._frame_rate_args_prev == args:
-            return RENDER_PT_format._frame_rate_ret
+        if RENDER_PT_dimensions._frame_rate_args_prev == args:
+            return RENDER_PT_dimensions._frame_rate_ret
 
         fps, fps_base, preset_label = args
 
@@ -84,17 +87,17 @@ class RENDER_PT_format(RenderOutputButtonsPanel, Panel):
             fps_label_text = f"{fps_rate!r} fps"
             show_framerate = (preset_label == "Custom")
 
-        RENDER_PT_format._frame_rate_args_prev = args
-        RENDER_PT_format._frame_rate_ret = args = (fps_label_text, show_framerate)
+        RENDER_PT_dimensions._frame_rate_args_prev = args
+        RENDER_PT_dimensions._frame_rate_ret = args = (fps_label_text, show_framerate)
         return args
 
     @staticmethod
     def draw_framerate(layout, sub, rd):
-        if RENDER_PT_format._preset_class is None:
-            RENDER_PT_format._preset_class = bpy.types.RENDER_MT_framerate_presets
+        if RENDER_PT_dimensions._preset_class is None:
+            RENDER_PT_dimensions._preset_class = bpy.types.RENDER_MT_framerate_presets
 
-        args = rd.fps, rd.fps_base, RENDER_PT_format._preset_class.bl_label
-        fps_label_text, show_framerate = RENDER_PT_format._draw_framerate_label(*args)
+        args = rd.fps, rd.fps_base, RENDER_PT_dimensions._preset_class.bl_label
+        fps_label_text, show_framerate = RENDER_PT_dimensions._draw_framerate_label(*args)
 
         sub.menu("RENDER_MT_framerate_presets", text=fps_label_text)
 
@@ -103,9 +106,6 @@ class RENDER_PT_format(RenderOutputButtonsPanel, Panel):
             col.prop(rd, "fps")
             col.prop(rd, "fps_base", text="Base")
 
-    def draw_header_preset(self, context):
-        RENDER_PT_presets.draw_panel_header(self.layout)
-
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
@@ -120,7 +120,7 @@ class RENDER_PT_format(RenderOutputButtonsPanel, Panel):
         col.prop(rd, "resolution_percentage", text="%")
 
         col = layout.column(align=True)
-        col.prop(rd, "pixel_aspect_x", text="Aspect Ratio X")
+        col.prop(rd, "pixel_aspect_x", text="Aspect X")
         col.prop(rd, "pixel_aspect_y", text="Y")
 
         col = layout.column(align=True)
@@ -129,33 +129,20 @@ class RENDER_PT_format(RenderOutputButtonsPanel, Panel):
         sub.active = rd.use_border
         sub.prop(rd, "use_crop_to_border")
 
-        col = layout.split()
-        col.alignment = 'RIGHT'
-        col.label(text="Frame Rate")
-        self.draw_framerate(layout, col, rd)
-
-
-class RENDER_PT_frame_range(RenderOutputButtonsPanel, Panel):
-    bl_label = "Frame Range"
-    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
-
-    def draw(self, context):
-        layout = self.layout
-        layout.use_property_split = True
-        layout.use_property_decorate = False  # No animation.
-
-        scene = context.scene
-        rd = scene.render
-
         col = layout.column(align=True)
         col.prop(scene, "frame_start", text="Frame Start")
         col.prop(scene, "frame_end", text="End")
         col.prop(scene, "frame_step", text="Step")
 
+        col = layout.split()
+        col.alignment = 'RIGHT'
+        col.label(text="Frame Rate")
+        self.draw_framerate(layout, col, rd)
+
 
-class RENDER_PT_time_frame_remapping(RenderOutputButtonsPanel, Panel):
-    bl_label = "Time Stretching"
-    bl_parent_id = "RENDER_PT_frame_range"
+class RENDER_PT_frame_remapping(RenderOutputButtonsPanel, Panel):
+    bl_label = "Time Remapping"
+    bl_parent_id = "RENDER_PT_dimensions"
     bl_options = {'DEFAULT_CLOSED'}
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
 
@@ -517,9 +504,8 @@ classes = (
     RENDER_PT_presets,
     RENDER_PT_ffmpeg_presets,
     RENDER_MT_framerate_presets,
-    RENDER_PT_format,
-    RENDER_PT_frame_range,
-    RENDER_PT_time_frame_remapping,
+    RENDER_PT_dimensions,
+    RENDER_PT_frame_remapping,
     RENDER_PT_output,
     RENDER_PT_output_views,
     RENDER_PT_encoding,
index 325a369..c116254 100644 (file)
@@ -683,13 +683,11 @@ set_property(GLOBAL PROPERTY ICON_GEOM_NAMES
        ops.gpencil.edit_mirror
        ops.gpencil.edit_shear
        ops.gpencil.edit_to_sphere
-       ops.gpencil.extrude_move
        ops.gpencil.primitive_arc
        ops.gpencil.primitive_box
        ops.gpencil.primitive_circle
        ops.gpencil.primitive_curve
        ops.gpencil.primitive_line
-       ops.gpencil.radius
        ops.gpencil.sculpt_clone
        ops.gpencil.sculpt_grab
        ops.gpencil.sculpt_pinch