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 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

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


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

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

Also added epsilon into the mix.

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

Also added epsilon into the mix.

11 months agoMulti-Objects: Select similar armature initial commit
Dalai Felinto [Tue, 2 Oct 2018 18:55:00 +0000 (18:55 +0000)]
Multi-Objects: Select similar armature initial commit

This includes all the modes that don't need multi-object support:


Unlike the mesh select similar operator, in this case we take
only the active bone in consideration, not all the selected ones.

I decided not to change that, and keep this 2.79 behaviour.
We could though if we want to.

11 months agoMulti-Objects: ARMATURE_OT_select_hierarchy
Dalai Felinto [Tue, 2 Oct 2018 17:35:07 +0000 (17:35 +0000)]
Multi-Objects: ARMATURE_OT_select_hierarchy

11 months agoMulti-Objects: ARMATURE_OT_select_less and ARMATURE_OT_select_more
Dalai Felinto [Tue, 2 Oct 2018 17:26:36 +0000 (17:26 +0000)]
Multi-Objects: ARMATURE_OT_select_less and ARMATURE_OT_select_more

11 months agoFix for POSE_OT_select_mirror
Dalai Felinto [Tue, 2 Oct 2018 17:22:43 +0000 (17:22 +0000)]
Fix for POSE_OT_select_mirror

It was not taking duplicated objects into consideration, so the operator would
only work if you had an off number of objects with the same armature.

11 months agoMulti-Objects: ARMATURE_OT_select_mirror
Dalai Felinto [Tue, 2 Oct 2018 17:05:30 +0000 (17:05 +0000)]
Multi-Objects: ARMATURE_OT_select_mirror

11 months agoFix (unreported) memleak with legacy IKsolver.
Bastien Montagne [Tue, 2 Oct 2018 15:59:11 +0000 (17:59 +0200)]
Fix (unreported) memleak with legacy IKsolver.

Looks like new depsgraph may initialize some IK trees, without ever
executing them (which also frees them with legacy IKSolver code)...

11 months agoAddons: reactivate BVH and PLY format addons
Jacques Lucke [Tue, 2 Oct 2018 15:51:39 +0000 (17:51 +0200)]
Addons: reactivate BVH and PLY format addons

Reviewers: brecht

Differential Revision:

11 months agoRNA ID: add accessors to original ID, and a boolean stating whether it is evaluated...
Bastien Montagne [Tue, 2 Oct 2018 12:13:25 +0000 (14:13 +0200)]
RNA ID: add accessors to original ID, and a boolean stating whether it is evaluated or original data-block.

Since RNA depagraph API mostly returns evaluated data, it is mandatory
to have access to original datablocks now...

11 months agoDepsgraph/RNA: add warning that all data from object instances iterator are COW data.
Bastien Montagne [Tue, 2 Oct 2018 12:11:59 +0000 (14:11 +0200)]
Depsgraph/RNA: add warning that all data from object instances iterator are COW data.

It is crucial that scripts do not write, and even more importantly, do
not store any references to those. Otherwise, that’s a rather straight
path to crash.

11 months agoUI: Fix error in shading popover
Clément Foucault [Tue, 2 Oct 2018 10:26:39 +0000 (12:26 +0200)]
UI: Fix error in shading popover

11 months agoFix weight drawing in Edit Mode by using the Weight Paint shader.
Alexander Gavrilov [Tue, 2 Oct 2018 09:34:31 +0000 (12:34 +0300)]
Fix weight drawing in Edit Mode by using the Weight Paint shader.

After rB3da46a8d8df2 the vertex color shader can't draw the raw
weight data produced by DRW_cache_mesh_surface_weights_get.

11 months agoKeymap: disable alt-comma for origin only transform
Campbell Barton [Tue, 2 Oct 2018 09:07:35 +0000 (19:07 +1000)]
Keymap: disable alt-comma for origin only transform

This is quite an obscure option only useful in rare cases,
when enabled by accident it's confusing since single objects
can't be transformed.

Also, w/ 2.8x you don't see the option change in the header.

11 months agoGP: Redo blur z-depth fix
Antonioya [Tue, 2 Oct 2018 09:09:17 +0000 (11:09 +0200)]
GP: Redo blur z-depth fix

The problem with previous fix was that only the original pixels were blurred, but the surrounding pixels no.

11 months agoGizmo: scale xyz axis to 1.0
Campbell Barton [Tue, 2 Oct 2018 09:05:15 +0000 (19:05 +1000)]
Gizmo: scale xyz axis to 1.0

The normal and xyz no longer overlap so can be the same size.

11 months agoCorrect extrude shortcut and description
Campbell Barton [Tue, 2 Oct 2018 08:48:28 +0000 (18:48 +1000)]
Correct extrude shortcut and description

To get the toolbar Key binding, the same operator needs to be
referenced from the tool.

11 months agoGP: Cleanup shader
Antonioya [Tue, 2 Oct 2018 08:31:49 +0000 (10:31 +0200)]
GP: Cleanup shader

11 months agoGP: Fix blur FX z-depth error
Antonioya [Tue, 2 Oct 2018 08:22:11 +0000 (10:22 +0200)]
GP: Fix blur FX z-depth error

The z-depth must not be blurred, but use the original value.

11 months agoGizmo: option to switch between normal/xyz widgets
Campbell Barton [Tue, 2 Oct 2018 08:16:00 +0000 (18:16 +1000)]
Gizmo: option to switch between normal/xyz widgets

11 months agoCleanup: split extrude gizmo into own file
Campbell Barton [Tue, 2 Oct 2018 07:31:50 +0000 (17:31 +1000)]
Cleanup: split extrude gizmo into own file

11 months agoGizmo: move spin tool axis option into gizmo-group
Campbell Barton [Tue, 2 Oct 2018 07:05:13 +0000 (17:05 +1000)]
Gizmo: move spin tool axis option into gizmo-group

Having this setting here wasn't correct (the operator ignores it).

11 months agoGizmo: support for gizmo-group properties
Campbell Barton [Tue, 2 Oct 2018 06:59:54 +0000 (16:59 +1000)]
Gizmo: support for gizmo-group properties

This allows gizmo groups to store properties in the tool.
This makes sense for gizmo options which only control gizmo display and
don't control operator execution.

Unlike similar kinds of properties,
this isn't accessible via the gizmo-group-type instance.

For now the it's only stored in the workspace tool as can be done for
operator properties, so each instance doesn't have different settings
which would be confusing from a user perspective and complicate access
from the top-bar.

Later we could add gizmo-group properties if needed.

11 months agoWM: generalize tool property initialization
Campbell Barton [Tue, 2 Oct 2018 05:39:20 +0000 (15:39 +1000)]
WM: generalize tool property initialization

Prepare for storing different kinds of properties in tools.

11 months agoWM: report error w/ unknown operator name
Campbell Barton [Tue, 2 Oct 2018 05:28:14 +0000 (15:28 +1000)]
WM: report error w/ unknown operator name

11 months agoCorrect extrude tool operator references
Campbell Barton [Tue, 2 Oct 2018 05:17:00 +0000 (15:17 +1000)]
Correct extrude tool operator references

Caused incorrect tooltips.

11 months agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 2 Oct 2018 01:19:11 +0000 (11:19 +1000)]
Merge branch 'master' into blender2.8

11 months agoCorrect tooltip
Campbell Barton [Tue, 2 Oct 2018 01:17:31 +0000 (11:17 +1000)]
Correct tooltip

11 months agoFix T56990: AutoIK fails
Philipp Oeser [Tue, 2 Oct 2018 00:10:26 +0000 (10:10 +1000)]
Fix T56990: AutoIK fails

Regression from 5d628c519

11 months agoGPY Python: program_use_begin and program_use_end.
mano-wii [Mon, 1 Oct 2018 16:21:08 +0000 (13:21 -0300)]
GPY Python: program_use_begin and program_use_end.

The user has to be encouraged to use the `program_set` or `program_set_builtin` before drawing.
This avoids problem with gl_context.

11 months agoUI: Fix Xray alpha slider being incorrectly greyed out
Clément Foucault [Mon, 1 Oct 2018 16:56:16 +0000 (18:56 +0200)]
UI: Fix Xray alpha slider being incorrectly greyed out

11 months agoDRW: Fix unselectable wire object in solid mode
Clément Foucault [Mon, 1 Oct 2018 16:53:23 +0000 (18:53 +0200)]
DRW: Fix unselectable wire object in solid mode

11 months agoTemplates: tweaks to startup templates, add sculpting template.
Brecht Van Lommel [Mon, 1 Oct 2018 14:38:14 +0000 (16:38 +0200)]
Templates: tweaks to startup templates, add sculpting template.

11 months agoUI: start maximized on X11 if possible, like other platforms.
Brecht Van Lommel [Mon, 1 Oct 2018 15:23:18 +0000 (17:23 +0200)]
UI: start maximized on X11 if possible, like other platforms.

11 months agoFix app template not running without a userpref.blend.
Brecht Van Lommel [Mon, 1 Oct 2018 14:23:41 +0000 (16:23 +0200)]
Fix app template not running without a userpref.blend.

11 months agoFix Cycles Python warnings related to annotations.
Brecht Van Lommel [Mon, 1 Oct 2018 14:22:38 +0000 (16:22 +0200)]
Fix Cycles Python warnings related to annotations.

11 months agoUI: collapse some paint / sculpt panels by default.
Brecht Van Lommel [Mon, 1 Oct 2018 13:39:03 +0000 (15:39 +0200)]
UI: collapse some paint / sculpt panels by default.

11 months agoUI: use backdrop circle for navigation icons, make clickable area bigger.
Brecht Van Lommel [Mon, 1 Oct 2018 10:47:37 +0000 (12:47 +0200)]
UI: use backdrop circle for navigation icons, make clickable area bigger.

This will look a bit better once the icon outline is gone.

11 months agoGP: Change Blur default parameters for Rim and Shadow effects.
Antonioya [Mon, 1 Oct 2018 14:42:12 +0000 (16:42 +0200)]
GP: Change Blur default parameters for Rim and Shadow effects.

11 months agoGP: Add Blur to Shadow FX
Antonioya [Mon, 1 Oct 2018 14:30:43 +0000 (16:30 +0200)]
GP: Add Blur to Shadow FX

The shadow needed a blur to make soft transitions and get a better effect.

11 months agoUI: Update theme colors for pie menu selected items
Pablo Vazquez [Mon, 1 Oct 2018 13:28:37 +0000 (15:28 +0200)]
UI: Update theme colors for pie menu selected items

11 months agoUI: Color the inside of pie menu items when selected
Pablo Vazquez [Mon, 1 Oct 2018 13:25:11 +0000 (15:25 +0200)]
UI: Color the inside of pie menu items when selected

Follows the same as other selected/active items in the UI.
Tested in Default theme, 2.7x, 2.4x, Flatty Light and Amaranth
all seem to work fine.

11 months agoEdit UVs: Fix missing wires with multiple windows
Clément Foucault [Mon, 1 Oct 2018 13:14:33 +0000 (15:14 +0200)]
Edit UVs: Fix missing wires with multiple windows

All that was needed is a VAO refresh. It's not a performance problem
because it only concerns a handful of batches.

11 months agoEdit UVs: Refactor drawing Shadow UV in Image Editor
Clément Foucault [Mon, 1 Oct 2018 12:55:35 +0000 (14:55 +0200)]
Edit UVs: Refactor drawing Shadow UV in Image Editor

Currently it's not showing the subdivided mesh (if there is a subdiv mod)
and there is some sync issue if there is multiple uv image space opened.
But thoses will be tackled later on. The purpose of this commit is to fix
the overflow issue of IMM and speed issue.

11 months agoGPU: Fix partial draw of batches with index buffers
Clément Foucault [Mon, 1 Oct 2018 12:52:02 +0000 (14:52 +0200)]
GPU: Fix partial draw of batches with index buffers

11 months agoEdit UVs: Refactor drawing Edit UV in Image Editor
Clément Foucault [Sat, 29 Sep 2018 17:42:09 +0000 (19:42 +0200)]
Edit UVs: Refactor drawing Edit UV in Image Editor

NOTE: This commit only concern edit UVs and not the "shadow" mesh displayed
when texture painting. This will be address in a future commit.

We now cache the uv mesh in the mesh batch cache and only reupload data on

Update could be more granular (and a bit faster) but it's not our main
concern ATM.

This should fix problem caused by the IMM api used to draw large meshes.
This makes performance skyrocket compared to previous implementation.
There is still a big CPU bottleneck when not in sync selection mode but it
is not related to the drawing function directly.

11 months agoBLI: Add mul_v2_v2v2 function
Clément Foucault [Sat, 29 Sep 2018 15:54:13 +0000 (17:54 +0200)]
BLI: Add mul_v2_v2v2 function

11 months agoShrinkwrap Constraint: implement projection features from the modifier.
Alexander Gavrilov [Sun, 8 Jul 2018 10:47:26 +0000 (13:47 +0300)]
Shrinkwrap Constraint: implement projection features from the modifier.

Allow raycasting in two directions and culling front or back faces.

Also implement a new Invert Cull option in both constraint and
modifier that can be used to aim for faces aligned with the project
axis direction when raycasting both ways.

Reviewers: mont29

Differential Revision:

11 months agoGP: Fix Shadow rotation bug
Antonioya [Mon, 1 Oct 2018 09:36:06 +0000 (11:36 +0200)]
GP: Fix Shadow rotation bug

11 months agoRemove obsolete weight paint color computation code.
Alexander Gavrilov [Sun, 30 Sep 2018 15:07:38 +0000 (18:07 +0300)]
Remove obsolete weight paint color computation code.

The new weight paint drawing code converts weight to color
directly in the shader, so the old CD_PREVIEW_MLOOPCOL based
code is not needed anymore.

11 months ago3D View: use context mode string for sidebar
Campbell Barton [Mon, 1 Oct 2018 06:56:41 +0000 (16:56 +1000)]
3D View: use context mode string for sidebar

When moving panels from the toolbar to the sidebar,
'bl_context' is now used for filtering panels in both places.

11 months agoObject Join: use 'selected_editable_objects'
Campbell Barton [Mon, 1 Oct 2018 06:43:49 +0000 (16:43 +1000)]
Object Join: use 'selected_editable_objects'

Was using 'selected_editable_bases', which used to save a lookup.
This is no longer the case and complicates access from Python
which cant yet easily access Bases.

11 months agoFix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
Brecht Van Lommel [Sun, 30 Sep 2018 17:28:15 +0000 (19:28 +0200)]
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.

This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.

11 months agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 1 Oct 2018 04:06:24 +0000 (14:06 +1000)]
Merge branch 'master' into blender2.8

11 months agoBLI_math: add `isect_seg_seg_v3`
mano-wii [Mon, 1 Oct 2018 03:16:44 +0000 (00:16 -0300)]
BLI_math: add `isect_seg_seg_v3`

11 months agoBLI_math: add `isect_seg_seg_v3` function and use in the cloth collision algorith.
mano-wii [Mon, 1 Oct 2018 03:16:44 +0000 (00:16 -0300)]
BLI_math: add `isect_seg_seg_v3` function and use in the cloth collision algorith.

In my tests a 4% improvement in performance was achieved by simulating a square cloth over the cube.

11 months agoCleanup: use standard prefix for boolean settings
Campbell Barton [Mon, 1 Oct 2018 01:56:41 +0000 (11:56 +1000)]
Cleanup: use standard prefix for boolean settings

Avoid using 'add' as a prefix, it reads like a method.

11 months agoFix freed memory use w/ panel unregister
Campbell Barton [Mon, 1 Oct 2018 00:31:24 +0000 (10:31 +1000)]
Fix freed memory use w/ panel unregister

11 months agoCleanup: use tuple unpacking
Campbell Barton [Sun, 30 Sep 2018 22:45:46 +0000 (08:45 +1000)]
Cleanup: use tuple unpacking

11 months agoCleanup: pep8, unused import
Campbell Barton [Sun, 30 Sep 2018 22:42:58 +0000 (08:42 +1000)]
Cleanup: pep8, unused import

11 months agoCleanup: style
Campbell Barton [Sun, 30 Sep 2018 22:42:26 +0000 (08:42 +1000)]
Cleanup: style

11 months agoFix T56981: python .scene_raycast returned object is not selectable.
Bastien Montagne [Sun, 30 Sep 2018 21:54:11 +0000 (23:54 +0200)]
Fix T56981: python .scene_raycast returned object is not selectable.

Was returning COW evaluated object, not actual data-block...

11 months agoFix T56879: Blender2.8 Crash when Editing Text on Curve.
Bastien Montagne [Sun, 30 Sep 2018 19:36:02 +0000 (21:36 +0200)]
Fix T56879: Blender2.8 Crash when Editing Text on Curve.

Moving cursor in 3D text edit mode calls `BKE_vfont_to_curve_ex()`,
which expects to work with evaluated data (curve cache runtime etc.).

11 months agoFix T56396: Cycles wrong object motion blur with deformation blur disabled.
Brecht Van Lommel [Fri, 28 Sep 2018 16:22:35 +0000 (18:22 +0200)]
Fix T56396: Cycles wrong object motion blur with deformation blur disabled.

11 months agoFix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
Brecht Van Lommel [Sun, 30 Sep 2018 17:28:15 +0000 (19:28 +0200)]
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.

This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.

11 months agoGP: The primitive line must not enable cyclic mode
Antonioya [Sun, 30 Sep 2018 16:45:45 +0000 (18:45 +0200)]
GP: The primitive line must not enable cyclic mode

11 months agoGP: Cleanup and remove old debug code
Antonioya [Sun, 30 Sep 2018 16:26:50 +0000 (18:26 +0200)]
GP: Cleanup and remove old debug code

11 months agoFix T56984: GP: Materials: Isolate (lock/visibility) buttons don't work.
Antonioya [Sun, 30 Sep 2018 15:35:41 +0000 (17:35 +0200)]
Fix T56984: GP: Materials: Isolate (lock/visibility) buttons don't work.

11 months agoio_utils: remove `orientation_helper_factory`.
Bastien Montagne [Sun, 30 Sep 2018 15:30:29 +0000 (17:30 +0200)]
io_utils: remove `orientation_helper_factory`.

Now we only use orientation_helper decorator.

11 months agoGP: New option to disable lasso while drawing
Antonioya [Sun, 30 Sep 2018 14:21:28 +0000 (16:21 +0200)]
GP: New option to disable lasso while drawing

Now it's possible to disable the lasso effect of the fill color while drawing with a fill color.

This sometimes is required to see the lines and it's the first step to implement a new lasso brush.