Merge branch 'master' into blender2.8
This commit is contained in:
@@ -247,6 +247,7 @@ colorspaces:
|
||||
allocation: uniform
|
||||
allocationvars: [-0.125, 4.875]
|
||||
to_reference: !<FileTransform> {src: srgb.spi1d, interpolation: linear}
|
||||
from_reference: !<FileTransform> {src: srgb_inv.spi1d, interpolation: linear}
|
||||
|
||||
- !<ColorSpace>
|
||||
name: VD16
|
||||
|
65567
release/datafiles/colormanagement/luts/srgb_inv.spi1d
Normal file
65567
release/datafiles/colormanagement/luts/srgb_inv.spi1d
Normal file
File diff suppressed because it is too large
Load Diff
18
release/datafiles/splash_scale.sh
Executable file
18
release/datafiles/splash_scale.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Use this script to generate splash.png from splash_2x.png.
|
||||
# Supposed to give best quality image.
|
||||
#
|
||||
# Based on ImageMagic documentation, which is interesting
|
||||
# to read anyway:
|
||||
#
|
||||
# http://www.imagemagick.org/Usage/filter
|
||||
# http://www.imagemagick.org/Usage/filter/nicolas/
|
||||
|
||||
convert \
|
||||
splash_2x.png \
|
||||
-colorspace RGB \
|
||||
-filter Cosine \
|
||||
-resize 50% \
|
||||
-colorspace sRGB \
|
||||
splash.png
|
@@ -49,7 +49,7 @@ def bake_action(frame_start,
|
||||
:type frame_end: int
|
||||
:arg frame_step: Frame step.
|
||||
:type frame_step: int
|
||||
:arg only_selected: Only bake selected data.
|
||||
:arg only_selected: Only bake selected bones.
|
||||
:type only_selected: bool
|
||||
:arg do_pose: Bake pose channels.
|
||||
:type do_pose: bool
|
||||
|
@@ -222,7 +222,7 @@ class BakeAction(Operator):
|
||||
)
|
||||
only_selected = BoolProperty(
|
||||
name="Only Selected",
|
||||
description="Only key selected object/bones",
|
||||
description="Only key selected bones (Pose baking only)",
|
||||
default=True,
|
||||
)
|
||||
visual_keying = BoolProperty(
|
||||
|
@@ -201,6 +201,10 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
|
||||
|
||||
col.operator("poselib.action_sanitize", icon='HELP', text="") # XXX: put in menu?
|
||||
|
||||
if pose_marker_active is not None:
|
||||
col.operator("poselib.pose_move", icon='TRIA_UP', text="").direction = 'UP'
|
||||
col.operator("poselib.pose_move", icon='TRIA_DOWN', text="").direction = 'DOWN'
|
||||
|
||||
|
||||
# TODO: this panel will soon be deprecated too
|
||||
class DATA_PT_ghost(ArmatureButtonsPanel, Panel):
|
||||
|
@@ -216,8 +216,18 @@ class GreasePencilStrokeEditPanel:
|
||||
col.operator_menu_enum("gpencil.stroke_arrange", text="Arrange Strokes...", property="direction")
|
||||
col.operator("gpencil.stroke_change_color", text="Move to Color")
|
||||
|
||||
if is_3d_view:
|
||||
layout.separator()
|
||||
col = layout.column(align=True)
|
||||
col.operator("gpencil.interpolate", text="Interpolate")
|
||||
col.operator("gpencil.interpolate_sequence", text="Sequence")
|
||||
settings = context.tool_settings.gpencil_sculpt
|
||||
col.prop(settings, "interpolate_all_layers")
|
||||
col.prop(settings, "interpolate_selected_only")
|
||||
|
||||
layout.separator()
|
||||
col = layout.column(align=True)
|
||||
col.operator("gpencil.stroke_subdivide", text="Subdivide")
|
||||
col.operator("gpencil.stroke_join", text="Join").type = 'JOIN'
|
||||
col.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY'
|
||||
col.operator("gpencil.stroke_flip", text="Flip Direction")
|
||||
@@ -641,6 +651,28 @@ class GPENCIL_MT_snap(Menu):
|
||||
layout.operator("view3d.snap_cursor_to_grid", text="Cursor to Grid")
|
||||
|
||||
|
||||
class GPENCIL_MT_gpencil_edit_specials(Menu):
|
||||
bl_label = "GPencil Specials"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
is_3d_view = context.space_data.type == 'VIEW_3D'
|
||||
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
layout.operator("gpencil.stroke_subdivide", text="Subdivide")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("gpencil.stroke_join", text="Join").type = 'JOIN'
|
||||
layout.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY'
|
||||
layout.operator("gpencil.stroke_flip", text="Flip Direction")
|
||||
|
||||
if is_3d_view:
|
||||
layout.separator()
|
||||
layout.operator("gpencil.reproject")
|
||||
|
||||
|
||||
###############################
|
||||
|
||||
|
||||
@@ -763,6 +795,7 @@ class GPENCIL_MT_palettecolor_specials(Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.operator("gpencil.palettecolor_select", icon='COLOR', text="Select Strokes")
|
||||
layout.operator("gpencil.stroke_change_color", icon='MAN_TRANS', text="Move to Color")
|
||||
|
||||
|
||||
class GreasePencilDataPanel:
|
||||
|
@@ -408,6 +408,20 @@ class VIEW3D_MT_uv_map(Menu):
|
||||
layout.operator("uv.reset")
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_proportional(Menu):
|
||||
bl_label = "Proportional Editing"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.props_enum(context.tool_settings, "proportional_edit")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.label("Falloff:")
|
||||
layout.props_enum(context.tool_settings, "proportional_edit_falloff")
|
||||
|
||||
|
||||
# ********** View menus **********
|
||||
|
||||
|
||||
@@ -2200,8 +2214,7 @@ class VIEW3D_MT_edit_mesh(Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.prop(toolsettings, "use_mesh_automerge")
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit")
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit_falloff")
|
||||
layout.menu("VIEW3D_MT_edit_proportional")
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -2316,6 +2329,8 @@ class VIEW3D_MT_edit_mesh_vertices(Menu):
|
||||
layout = self.layout
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
with_bullet = bpy.app.build_options.bullet
|
||||
|
||||
layout.operator("mesh.merge")
|
||||
layout.operator("mesh.rip_move")
|
||||
layout.operator("mesh.rip_move_fill")
|
||||
@@ -2336,7 +2351,8 @@ class VIEW3D_MT_edit_mesh_vertices(Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.operator("mesh.bevel").vertex_only = True
|
||||
layout.operator("mesh.convex_hull")
|
||||
if with_bullet:
|
||||
layout.operator("mesh.convex_hull")
|
||||
layout.operator("mesh.vertices_smooth")
|
||||
layout.operator("mesh.remove_doubles")
|
||||
|
||||
@@ -2570,8 +2586,7 @@ def draw_curve(self, context):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit")
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit_falloff")
|
||||
layout.menu("VIEW3D_MT_edit_proportional")
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -2730,8 +2745,7 @@ class VIEW3D_MT_edit_meta(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit")
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit_falloff")
|
||||
layout.menu("VIEW3D_MT_edit_proportional")
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -2768,8 +2782,7 @@ class VIEW3D_MT_edit_lattice(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit")
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit_falloff")
|
||||
layout.menu("VIEW3D_MT_edit_proportional")
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_armature(Menu):
|
||||
@@ -2929,8 +2942,7 @@ class VIEW3D_MT_edit_gpencil(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit")
|
||||
layout.prop_menu_enum(toolsettings, "proportional_edit_falloff")
|
||||
layout.menu("VIEW3D_MT_edit_proportional")
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
Reference in New Issue
Block a user