blender.git
11 months agoDial3d Gizmo: consider the offset value in the incremental angle drawing.
mano-wii [Fri, 5 Oct 2018 13:40:14 +0000 (10:40 -0300)]
Dial3d Gizmo: consider the offset value in the incremental angle drawing.

This prevents misalignment with the Spin tool gizmo for example.

11 months agoPython API: new GPUVertFormat constructor and vbo.fill_attribute method
Jacques Lucke [Fri, 5 Oct 2018 13:10:56 +0000 (15:10 +0200)]
Python API: new GPUVertFormat constructor and vbo.fill_attribute method

Reviewer: fclem

Differential Revision: https://developer.blender.org/D3760

11 months agoUI: move set origin operators into own object submenu.
William Reynish [Fri, 5 Oct 2018 12:13:57 +0000 (14:13 +0200)]
UI: move set origin operators into own object submenu.

11 months agoVertex Paint: multiply vertex paint overlay
Jacques Lucke [Fri, 5 Oct 2018 12:03:22 +0000 (14:03 +0200)]
Vertex Paint: multiply vertex paint overlay

Fixes the first part of T56999.

Reviewer: brecht

Differential Revision: https://developer.blender.org/D3768

11 months agoGP: Rename Canvas Grid to Canvas
Antonioya [Fri, 5 Oct 2018 12:00:34 +0000 (14:00 +0200)]
GP: Rename Canvas Grid to Canvas

11 months agoRedefine the Relative custom B-Bone handle type to be more reasonable.
Alexander Gavrilov [Fri, 5 Oct 2018 09:35:59 +0000 (12:35 +0300)]
Redefine the Relative custom B-Bone handle type to be more reasonable.

Specifically, it should always use the position of the custom handle
bone head, even when affecting the handle at the tail of the main bone,
and shouldn't apply the special handling for joining two B-Bones.

This handle type was unusably broken before a bug fix included in
recent changes, so it should be safe to break backward compatibility.

11 months agoGP: Remove decoration in Viewport Display panels
Antonioya [Fri, 5 Oct 2018 08:39:02 +0000 (10:39 +0200)]
GP: Remove decoration in Viewport Display panels

11 months agoGP: Cleanup grid RNA settings moving to separated struct
Antonioya [Fri, 5 Oct 2018 08:23:13 +0000 (10:23 +0200)]
GP: Cleanup grid RNA settings moving to separated struct

11 months agoCleanup: capitalize runtime in struct name
Campbell Barton [Fri, 5 Oct 2018 07:20:23 +0000 (17:20 +1000)]
Cleanup: capitalize runtime in struct name

11 months agoContext: add uv_sculpt_object
Campbell Barton [Fri, 5 Oct 2018 07:10:27 +0000 (17:10 +1000)]
Context: add uv_sculpt_object

While this may be temporary, it avoids copy-pasting these
checks in Python code.

11 months agoGP: Cleanup names and code
Antonioya [Fri, 5 Oct 2018 06:59:16 +0000 (08:59 +0200)]
GP: Cleanup names and code

11 months agoCleanup: style
Campbell Barton [Fri, 5 Oct 2018 05:01:58 +0000 (15:01 +1000)]
Cleanup: style

11 months agoUI: show uv sculpt options in topbar & toolsettings
Campbell Barton [Fri, 5 Oct 2018 04:53:18 +0000 (14:53 +1000)]
UI: show uv sculpt options in topbar & toolsettings

11 months agoMerge branch 'blender2.8' of git.blender.org:blender into blender2.8
Ray Molenkamp [Fri, 5 Oct 2018 03:57:00 +0000 (21:57 -0600)]
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8

11 months agoMerge remote-tracking branch 'origin/master' into blender2.8
Ray Molenkamp [Fri, 5 Oct 2018 03:56:20 +0000 (21:56 -0600)]
Merge remote-tracking branch 'origin/master' into blender2.8

11 months agoCleanup: remove gpencil label from common code path
Campbell Barton [Fri, 5 Oct 2018 03:55:08 +0000 (13:55 +1000)]
Cleanup: remove gpencil label from common code path

11 months agoTool System: prepare for showing non 3D view tools
Campbell Barton [Fri, 5 Oct 2018 03:47:04 +0000 (13:47 +1000)]
Tool System: prepare for showing non 3D view tools

11 months agoRNA: add access to tool mode
Campbell Barton [Fri, 5 Oct 2018 03:29:51 +0000 (13:29 +1000)]
RNA: add access to tool mode

11 months agoTool System: initial support for UV-sculpt
Campbell Barton [Fri, 5 Oct 2018 03:07:01 +0000 (13:07 +1000)]
Tool System: initial support for UV-sculpt

This currently conflicts with the UV-sculpt toggle being manually set,
ideally this would work more like other paint modes in Blender.

11 months agoCleanup: use PyModule_AddIntConstant
mano-wii [Fri, 5 Oct 2018 02:52:49 +0000 (23:52 -0300)]
Cleanup: use PyModule_AddIntConstant

11 months agoFix invalid flag passed to mesh batch dirty tag
Campbell Barton [Fri, 5 Oct 2018 01:20:12 +0000 (11:20 +1000)]
Fix invalid flag passed to mesh batch dirty tag

11 months agoUI: rename Border Select -> Box Select
Campbell Barton [Fri, 5 Oct 2018 00:27:04 +0000 (10:27 +1000)]
UI: rename Border Select -> Box Select

See: T56648

11 months agoUI: rename overlay: Ornaments -> Extras
Campbell Barton [Thu, 4 Oct 2018 23:41:48 +0000 (09:41 +1000)]
UI: rename overlay: Ornaments -> Extras

See: T56648

11 months agoGP: Move grid parameters to GP object data level
Antonioya [Thu, 4 Oct 2018 21:27:34 +0000 (23:27 +0200)]
GP: Move grid parameters to GP object data level

The grid now can be configured by object because this helps to identify objects and allows to define diferent grid parameters for each objects.

Also added a color option.

11 months agoFix T56268: display the correct rest shape for B-Bones in Edit Mode.
Alexander Gavrilov [Tue, 7 Aug 2018 18:08:16 +0000 (21:08 +0300)]
Fix T56268: display the correct rest shape for B-Bones in Edit Mode.

The rest shape of B-Bones is actually affected by custom handles or
the default connected parent/child mechanism. Ignoring these effects
thus leads to the edit mode shape being different from the actual
rest pose.

This splits the b_bone_spline_setup function that is used to compute
the correct rest and pose shape from pose channels into two parts,
and applies the data structure independent half to edit mode.

In order to access the custom handle settings in Edit Mode, they are
moved to Bone and EditBone, while the bPoseChannel fields are downgraded
in status to a cache for performance. Also, instead of flags, introduce
an enum to specify the handle operation modes, so that new ones could
be added later.

Reviewers: aligorith, brecht

Differential Revision: https://developer.blender.org/D3588

11 months agoMove B-Bone custom handle settings to Edit mode.
Alexander Gavrilov [Sun, 5 Aug 2018 15:48:05 +0000 (18:48 +0300)]
Move B-Bone custom handle settings to Edit mode.

Custom handle settings actually affect the B-Bone rest shape,
so they should be changed in Edit mode rather than Pose mode.
This is necessary to be able to display the correct rest shape
of the bone in Edit Mode.

Also, instead of flags, introduce an enum to specify the handle
operation modes, so that new ones could be added later.

Differential Revision: https://developer.blender.org/D3588

11 months agoRevert "tmp"
mano-wii [Thu, 4 Oct 2018 16:53:39 +0000 (13:53 -0300)]
Revert "tmp"

This reverts commit 9d8c05f7ecf6c20d48c3b151653bab5cc1b988aa.

11 months agoCleanup: Remove some unneeded code
Jacques Lucke [Thu, 4 Oct 2018 16:53:40 +0000 (18:53 +0200)]
Cleanup: Remove some unneeded code

Reviewers: fclem

Differential Revision: https://developer.blender.org/D3767

11 months agoRevert "UI: start maximized on X11 if possible, like other platforms."
Brecht Van Lommel [Thu, 4 Oct 2018 16:51:26 +0000 (18:51 +0200)]
Revert "UI: start maximized on X11 if possible, like other platforms."

This reverts commit ac0dfcced30a75fed4017c0b5e1dc8600e6f1dd8.

11 months agoGPU Python: rename methods "shader_from_builtin" and "shader_code_from_builtin" to...
mano-wii [Thu, 4 Oct 2018 16:51:21 +0000 (13:51 -0300)]
GPU Python: rename methods "shader_from_builtin" and "shader_code_from_builtin" to "from_builtin" and "code_from_builtin".

11 months agoGPU Python: Fix assert in PySequence_Fast_GET_SIZE
mano-wii [Thu, 4 Oct 2018 16:48:08 +0000 (13:48 -0300)]
GPU Python: Fix assert in PySequence_Fast_GET_SIZE

11 months agotmp
mano-wii [Thu, 4 Oct 2018 12:14:56 +0000 (09:14 -0300)]
tmp

11 months agoFix channels region showing in timeline editors in startup templates.
Brecht Van Lommel [Thu, 4 Oct 2018 16:12:03 +0000 (18:12 +0200)]
Fix channels region showing in timeline editors in startup templates.

11 months agoGizmo: Fix artifacts when having large angles
Jacques Lucke [Thu, 4 Oct 2018 15:53:05 +0000 (17:53 +0200)]
Gizmo: Fix artifacts when having large angles

Reviewer: brecht

Differential Revision: https://developer.blender.org/D3765

11 months agoUnits: Change '1000 Kilograms' to 'Tonnes'
Jacques Lucke [Thu, 4 Oct 2018 15:52:17 +0000 (17:52 +0200)]
Units: Change '1000 Kilograms' to 'Tonnes'

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3766

11 months agoFix T57062: missing preview range drawing in graph editor.
Brecht Van Lommel [Thu, 4 Oct 2018 13:45:58 +0000 (15:45 +0200)]
Fix T57062: missing preview range drawing in graph editor.

11 months agoUI: duplicate X-ray option in popover, makes relation with alpha more clear.
Brecht Van Lommel [Thu, 4 Oct 2018 12:35:18 +0000 (14:35 +0200)]
UI: duplicate X-ray option in popover, makes relation with alpha more clear.

11 months agoFix T57040 Mesh Disappearing after exiting edit mode in sculpt
Clément Foucault [Thu, 4 Oct 2018 12:57:23 +0000 (14:57 +0200)]
Fix T57040 Mesh Disappearing after exiting edit mode in sculpt

11 months agoFix T56992 caused by typo in previous fix
Clément Foucault [Thu, 4 Oct 2018 12:56:51 +0000 (14:56 +0200)]
Fix T56992 caused by typo in previous fix

11 months agoFix T57059: "make deps" build error when sndio library is present.
Jorge Bernal [Thu, 4 Oct 2018 11:31:38 +0000 (13:31 +0200)]
Fix T57059: "make deps" build error when sndio library is present.

11 months agoTransform: fix glitch in the rotating gizmo drawing.
mano-wii [Thu, 4 Oct 2018 11:22:04 +0000 (08:22 -0300)]
Transform: fix glitch in the rotating gizmo drawing.

11 months agoFix T57011: Crash pressing Free Light Cache during Indirect Light Cache
Philipp Oeser [Thu, 4 Oct 2018 09:24:17 +0000 (11:24 +0200)]
Fix T57011: Crash pressing Free Light Cache during Indirect Light Cache
Baking

just kill the bake job prior to freeing

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D3764

11 months agoUV: support setting the cursor w/ non-cursor tools
Campbell Barton [Thu, 4 Oct 2018 07:07:05 +0000 (17:07 +1000)]
UV: support setting the cursor w/ non-cursor tools

11 months agoGizmo: UV transform cage now uses all edit-objects
Campbell Barton [Thu, 4 Oct 2018 06:46:20 +0000 (16:46 +1000)]
Gizmo: UV transform cage now uses all edit-objects

11 months agoUV: avoid redundant batch cache w/ UV select pick & all
Campbell Barton [Thu, 4 Oct 2018 06:16:53 +0000 (16:16 +1000)]
UV: avoid redundant batch cache w/ UV select pick & all

Only tag UV's as needing an update.
Also correct notifier for region redraw.

11 months agoFix UV select tools not refreshing
Campbell Barton [Thu, 4 Oct 2018 06:03:51 +0000 (16:03 +1000)]
Fix UV select tools not refreshing

Add BKE_mesh_batch_cache_dirty_tag option for resetting UV's.

11 months agoRemove empty file added by accident
Campbell Barton [Thu, 4 Oct 2018 05:29:30 +0000 (15:29 +1000)]
Remove empty file added by accident

11 months agoWM: fix non-undo operators stealing redo panel
Campbell Barton [Thu, 4 Oct 2018 05:21:37 +0000 (15:21 +1000)]
WM: fix non-undo operators stealing redo panel

Non-undo actions would move the redo panel into a different space.

11 months agoUV: border/circle select/deselect support
Campbell Barton [Thu, 4 Oct 2018 05:12:28 +0000 (15:12 +1000)]
UV: border/circle select/deselect support

11 months agoUV: use circle select/deselect
Campbell Barton [Thu, 4 Oct 2018 03:21:25 +0000 (13:21 +1000)]
UV: use circle select/deselect

11 months agoUV: rename circle select operator
Campbell Barton [Thu, 4 Oct 2018 03:21:21 +0000 (13:21 +1000)]
UV: rename circle select operator

Word order was swapped from all other operators.

11 months agoUI: disable UV operator register
Campbell Barton [Thu, 4 Oct 2018 02:58:36 +0000 (12:58 +1000)]
UI: disable UV operator register

Was showing redo panel for cursor & selection operators.

11 months agoCleanup: remove single backtick quotes
Campbell Barton [Thu, 4 Oct 2018 03:08:04 +0000 (13:08 +1000)]
Cleanup: remove single backtick quotes

This isn't valid RST.

11 months agoPython GPU: GPUBatch and GPUShader refactor.
mano-wii [Thu, 4 Oct 2018 02:34:27 +0000 (23:34 -0300)]
Python GPU: GPUBatch and GPUShader refactor.

The changes are:
- The shader now is passed as a parameter of the batch `draw` method (batch.draw(shader)). Since the batch always has to set a shader before drawing;
- The batch methods to specify a value to a uniform have been removed. Uniforms are parameters of the program (here called shader). If you change a uniform, it changes in all batchs that use the same program;
- New methods were added to set uniforms by the shader;
- The `batch.program_set_builtin` was removed. It is a duplicate of `program_set` but without a shader object. We need the shader object to configure the uniform;

Differential Revision: https://developer.blender.org/D3752

11 months agoTool System: add UV cursor & transform tools
Campbell Barton [Thu, 4 Oct 2018 02:04:36 +0000 (12:04 +1000)]
Tool System: add UV cursor & transform tools

Instead of showing the transform handles for all selections,
move this functionality into a tool as done for the 3D view.

11 months agoTransform: support for 2D cursor editing
Campbell Barton [Thu, 4 Oct 2018 01:50:12 +0000 (11:50 +1000)]
Transform: support for 2D cursor editing

11 months agoTransform: make gizmo pie section start from where you drag.
mano-wii [Thu, 4 Oct 2018 01:31:01 +0000 (22:31 -0300)]
Transform: make gizmo pie section start from where you drag.

11 months agoFix missing free w/ UV-lasso
Campbell Barton [Thu, 4 Oct 2018 01:03:45 +0000 (11:03 +1000)]
Fix missing free w/ UV-lasso

11 months agoUI: use shared toolbar region callbacks
Campbell Barton [Wed, 3 Oct 2018 22:54:48 +0000 (08:54 +1000)]
UI: use shared toolbar region callbacks

Image toolbar now starts with a single column width
and snaps to button increments.

11 months agoDRW: minor tweaks to mode checking
Campbell Barton [Wed, 3 Oct 2018 23:24:35 +0000 (09:24 +1000)]
DRW: minor tweaks to mode checking

Avoid accessing object mode via the view layer active object
when drawing since it's done everywhere we store the active object mode
in the draw-context.

11 months agoCleanup: style
Campbell Barton [Wed, 3 Oct 2018 23:23:58 +0000 (09:23 +1000)]
Cleanup: style

11 months agoED_gizmotypes_dial_3d_draw_util: use a struct to hide most parameters.
mano-wii [Wed, 3 Oct 2018 22:59:35 +0000 (19:59 -0300)]
ED_gizmotypes_dial_3d_draw_util: use a struct to hide most parameters.

11 months agoUI: remove toolbar UV panels
Campbell Barton [Wed, 3 Oct 2018 22:32:26 +0000 (08:32 +1000)]
UI: remove toolbar UV panels

These duplicate existing menu items.

11 months agoGP: Show 3D cursor in draw mode
Antonioya [Wed, 3 Oct 2018 20:59:52 +0000 (22:59 +0200)]
GP: Show 3D cursor in draw mode

The cursor is used as location to draw new stroke

11 months agoGP: Hide different UI elements depending of mode
Antonioya [Wed, 3 Oct 2018 20:56:03 +0000 (22:56 +0200)]
GP: Hide different UI elements depending of mode

The 3D Cursor, origin and dummy are hidden depending of the mode to get a cleaner drawing space.

11 months agoEditor Transform: use the dial3d drawing in the rotation operation
mano-wii [Wed, 3 Oct 2018 19:25:10 +0000 (16:25 -0300)]
Editor Transform: use the dial3d drawing in the rotation operation

11 months agoDial3d Gizmo: Add the Incremental Angle option to snap.
mano-wii [Wed, 3 Oct 2018 19:23:32 +0000 (16:23 -0300)]
Dial3d Gizmo: Add the Incremental Angle option to snap.

11 months agoGP: Allow canvas grid with different scales in X/Y
Antonioya [Wed, 3 Oct 2018 20:42:45 +0000 (22:42 +0200)]
GP: Allow canvas grid with different scales in X/Y

Now it's possible create rectangular shapes and disable the subdivisions to get only a rectangle

11 months agoGP: Allow 0 subdivisions for canvas grid
Antonioya [Wed, 3 Oct 2018 20:14:38 +0000 (22:14 +0200)]
GP: Allow 0 subdivisions for canvas grid

11 months agoCleanup: tiny improvement in error reporting for makesrna
Ines Almeida [Wed, 3 Oct 2018 19:56:33 +0000 (21:56 +0200)]
Cleanup: tiny improvement in error reporting for makesrna

11 months agoGP: Hide the origin when enable origins
Antonioya [Wed, 3 Oct 2018 18:30:13 +0000 (20:30 +0200)]
GP: Hide the origin when enable origins

11 months agoGP: Hide dummy and cursor in drawing mode
Antonioya [Wed, 3 Oct 2018 18:25:14 +0000 (20:25 +0200)]
GP: Hide dummy and cursor in drawing mode

11 months agocycles: Support building with cuda 10 on windows.
Ray Molenkamp [Wed, 3 Oct 2018 16:18:22 +0000 (10:18 -0600)]
cycles: Support building with cuda 10 on windows.

11 months agoUI strings: Fix asserts in 'middle-splitting' fitting string code.
Bastien Montagne [Wed, 3 Oct 2018 14:22:10 +0000 (16:22 +0200)]
UI strings: Fix asserts in 'middle-splitting' fitting string code.

The problem is that string width computing is performed in integers
(pixels), which can generate a rather annoying error (a few pixels)...
Simply work around that for now, by trimming an extra middle char when
needed.

11 months agoImprovements to internals blf_font's `blf_font_width_to_strlen()`/`to_rstrlen()`
Bastien Montagne [Wed, 3 Oct 2018 13:42:10 +0000 (15:42 +0200)]
Improvements to internals blf_font's `blf_font_width_to_strlen()`/`to_rstrlen()`

`to_strlen` just benefits from using pre-computed kerning table for
ascii chars (gives about 30% speed improvements).

`to_rstrlen` was re-written and heavily simplified, basically using same
logic as `to_strlen`, and `BLI_str_find_prev_char_utf8()` to loop
backward in the string, instead of looping forwards the whole string,
storing each gliph's width in temp array, and looping backward on that
temp array to find final string matching expected width. Gives about 70%
speed improvements!

And both functions can now share their core logic.

11 months agoPose Mode: Add back IK Degrees of freedom display
Clément Foucault [Wed, 3 Oct 2018 13:42:05 +0000 (15:42 +0200)]
Pose Mode: Add back IK Degrees of freedom display

11 months agoFix T56992: OpenGL Render Engine ignores Transparent Background
Clément Foucault [Tue, 2 Oct 2018 16:20:55 +0000 (18:20 +0200)]
Fix T56992: OpenGL Render Engine ignores Transparent Background

Correct the outline blending for alpha 0 background.

11 months agoDRW: Fix assert in texture paint
Clément Foucault [Tue, 2 Oct 2018 12:35:33 +0000 (14:35 +0200)]
DRW: Fix assert in texture paint

11 months agoSilence warning
Dalai Felinto [Wed, 3 Oct 2018 12:04:28 +0000 (12:04 +0000)]
Silence warning

11 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 3 Oct 2018 10:56:44 +0000 (12:56 +0200)]
Merge branch 'master' into blender2.8

11 months agoFix icon alpha theme option not working for monochrome icons.
Brecht Van Lommel [Tue, 2 Oct 2018 14:04:53 +0000 (16:04 +0200)]
Fix icon alpha theme option not working for monochrome icons.

11 months agoFix build with older CMake versions that we still need to support.
Brecht Van Lommel [Wed, 3 Oct 2018 10:54:21 +0000 (12:54 +0200)]
Fix build with older CMake versions that we still need to support.

11 months agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 3 Oct 2018 10:12:22 +0000 (12:12 +0200)]
Merge branch 'master' into blender2.8

11 months agoFix T54287: memory not freed after rendering on Linux.
Brecht Van Lommel [Wed, 3 Oct 2018 09:10:08 +0000 (11:10 +0200)]
Fix T54287: memory not freed after rendering on Linux.

With new jemalloc versions memory allocated by threads that then become
inactive is not longer automatically freed. Instead we have to enable a
background thread to do it.

Some testing is needed to find out of this is sufficient, because the
background thread only runs periodically.

11 months agoGP: Add z-depth offset parameter
Antonioya [Wed, 3 Oct 2018 08:55:07 +0000 (10:55 +0200)]
GP: Add z-depth offset parameter

This parameter allows to define the percentage of offset of a stroke when uses surface mode.

Before, this was a fixed value, but for some artists' purposes, it's good to have the option to change it.

11 months agoUnits: Support for fixed units
Jacques Lucke [Wed, 3 Oct 2018 08:20:16 +0000 (10:20 +0200)]
Units: Support for fixed units

Users can select the main unit they want to use now.
Previously the displayed unit always depended on the magnitude of the value.
The old behavior can be restored by switching to the "Adaptive" mode for length, mass and time units.

Meters, kilograms and seconds are the default units for new and old scenes.

The selected unit is also the default unit for user input.
E.g. if cm is selected, whenever the user inputs a unitless number into a field of type length, it will be interpreted as cm.

Reviewer: brecht

Differential: https://developer.blender.org/D3740

11 months agoKeymap: expose tool keymaps in the preferences
Campbell Barton [Wed, 3 Oct 2018 05:48:37 +0000 (15:48 +1000)]
Keymap: expose tool keymaps in the preferences

Currently some modes share tool keymaps, we might want to disable
this since it's confusing editing one thing in multiple places.

However this should be resolved in the tool definitions.

11 months agoTransform: enable shrink-wrap even offset by default
Campbell Barton [Wed, 3 Oct 2018 03:10:11 +0000 (13:10 +1000)]
Transform: enable shrink-wrap even offset by default

Holding Alt now disables.

11 months agoFix T56975: Transform incorrect w/ constraint
Campbell Barton [Wed, 3 Oct 2018 02:21:46 +0000 (12:21 +1000)]
Fix T56975: Transform incorrect w/ constraint

11 months agoDial 3d Gizmo refactoring.
mano-wii [Wed, 3 Oct 2018 02:00:29 +0000 (23:00 -0300)]
Dial 3d Gizmo refactoring.

Transform the gizmo's drawing function into a generic function for use in other parts of the code.

11 months agoRNA: Make various .add(count) a required arg
Campbell Barton [Wed, 3 Oct 2018 00:20:55 +0000 (10:20 +1000)]
RNA: Make various .add(count) a required arg

11 months agoRNA: curve points add(count) a required arg
Campbell Barton [Tue, 2 Oct 2018 23:08:54 +0000 (09:08 +1000)]
RNA: curve points add(count) a required arg

11 months agoRNA: fcurve keyframe add(count) a required arg
Campbell Barton [Tue, 2 Oct 2018 23:04:51 +0000 (09:04 +1000)]
RNA: fcurve keyframe add(count) a required arg

This matches mesh add methods, and doesn't force it to be a keyword arg.

11 months agoExtrude: add normal flip to mesh.extrude_context
Campbell Barton [Tue, 2 Oct 2018 22:34:50 +0000 (08:34 +1000)]
Extrude: add normal flip to mesh.extrude_context

Was giving errors on each access.

11 months agoShrink/Fatten: change default 'even-thickness'
Campbell Barton [Tue, 2 Oct 2018 22:27:45 +0000 (08:27 +1000)]
Shrink/Fatten: change default 'even-thickness'

Accessing from the tool and keyboard had different defaults,
disable by default for both.

11 months agoFix gizmo tooltips ignoring preference
Campbell Barton [Tue, 2 Oct 2018 22:20:07 +0000 (08:20 +1000)]
Fix gizmo tooltips ignoring preference

11 months agoCleanup: style
Campbell Barton [Tue, 2 Oct 2018 22:10:48 +0000 (08:10 +1000)]
Cleanup: style

11 months agoMulti-Objects: TRANSFORM_OT_vertex_random
Dalai Felinto [Tue, 2 Oct 2018 20:11:19 +0000 (20:11 +0000)]
Multi-Objects: TRANSFORM_OT_vertex_random

This was listed under the armature task yet it is used for meshes too.

Also make sure all the UI names are capitalized (normal > Normal).

11 months agoMulti-Objects: Select similar armature: SIMEDBONE_LAYER
Dalai Felinto [Tue, 2 Oct 2018 19:54:19 +0000 (19:54 +0000)]
Multi-Objects: Select similar armature: SIMEDBONE_LAYER

And final one as well.

11 months agoMulti-Objecs: Select similar armature: SIMEDBONE_PREFIX and SIMEDBONE_SUFFIX
Dalai Felinto [Tue, 2 Oct 2018 19:38:00 +0000 (19:38 +0000)]
Multi-Objecs: Select similar armature: SIMEDBONE_PREFIX and SIMEDBONE_SUFFIX