blender.git
2 years agoFix missing updates when muting/soloing/reordering NLA tracks.
Alexander Gavrilov [Mon, 7 Jan 2019 14:33:47 +0000 (17:33 +0300)]
Fix missing updates when muting/soloing/reordering NLA tracks.

2 years agoCleanup: corrections to last commit
Campbell Barton [Mon, 7 Jan 2019 14:00:40 +0000 (01:00 +1100)]
Cleanup: corrections to last commit

2 years agoCleanup: move DNA comments before struct members
Campbell Barton [Mon, 7 Jan 2019 11:19:13 +0000 (22:19 +1100)]
Cleanup: move DNA comments before struct members

Needed for clang-format in some cases, see: T53211

2 years agoCleanup: fix typo.
Bastien Montagne [Mon, 7 Jan 2019 13:04:23 +0000 (14:04 +0100)]
Cleanup: fix typo.

2 years agoFix T59151 Bevel modifier has bad input width for percent.
Howard Trickey [Mon, 7 Jan 2019 12:29:54 +0000 (07:29 -0500)]
Fix T59151 Bevel modifier has bad input width for percent.

The units scaling was inappropriate when the bevel value was
to be interpreted as a percent, so added a separate rna property
for "Width Percent" and made UI show the width appropriate for
current offset_type.

2 years agoOpenSundiv: Simplify tweaking of shared stencil/patch settings
Sergey Sharybin [Mon, 7 Jan 2019 09:29:48 +0000 (10:29 +0100)]
OpenSundiv: Simplify tweaking of shared stencil/patch settings

2 years agoFix T60247: app.handlers.undo_post calls undo_pre's function.
Bastien Montagne [Mon, 7 Jan 2019 08:51:41 +0000 (09:51 +0100)]
Fix T60247: app.handlers.undo_post calls undo_pre's function.

Undo and redo post were actually calling respective pre funcs...

2 years agoCleanup: naming for return args
Campbell Barton [Mon, 7 Jan 2019 04:33:25 +0000 (15:33 +1100)]
Cleanup: naming for return args

2 years agoFix T58964: drivers_remove fails w/ missing paths
Campbell Barton [Mon, 7 Jan 2019 04:27:59 +0000 (15:27 +1100)]
Fix T58964: drivers_remove fails w/ missing paths

2 years agoPyAPI: Add AnimationData.drivers.new/remove methods
Campbell Barton [Mon, 7 Jan 2019 03:03:34 +0000 (14:03 +1100)]
PyAPI: Add AnimationData.drivers.new/remove methods

Low level functions to directly create and remove drivers,
use when high level functions aren't flexible enough, see: T58964.

2 years agoCleanup: tweak last commit
Campbell Barton [Mon, 7 Jan 2019 00:16:11 +0000 (11:16 +1100)]
Cleanup: tweak last commit

2 years agoFix generated toolbar keymap w/ annotation tool
Campbell Barton [Mon, 7 Jan 2019 00:00:46 +0000 (11:00 +1100)]
Fix generated toolbar keymap w/ annotation tool

2 years agoFix T59944: Template operator_mesh_uv.py fails
Sebastian Parborg [Sun, 6 Jan 2019 23:20:20 +0000 (10:20 +1100)]
Fix T59944: Template operator_mesh_uv.py fails

2 years agoBetter bevel normal hardening when some faces were smooth.
Howard Trickey [Sun, 6 Jan 2019 23:12:00 +0000 (18:12 -0500)]
Better bevel normal hardening when some faces were smooth.

Harden normals causes normal splitting, which will not give the
appearance expected due to autosmooth unless some edges are sharpened,
so this change fixes that. Also bevel tool will turn on autosmooth
if not already on if hardening normals.

2 years agoCleanup: add trailing commas to structs
Campbell Barton [Sun, 6 Jan 2019 13:58:10 +0000 (00:58 +1100)]
Cleanup: add trailing commas to structs

2 years agoCorrect error in recent button type check
Campbell Barton [Sun, 6 Jan 2019 22:12:14 +0000 (09:12 +1100)]
Correct error in recent button type check

2 years agoUI: Use grid-flow layout throughout Preferences
William Reynish [Sun, 6 Jan 2019 20:51:07 +0000 (21:51 +0100)]
UI: Use grid-flow layout throughout Preferences

Makes the entire Preferences UI nicely width responsive. Also, move
use_tabs_as_spaces option back to file path options, it was too lonely
in its own panel ;)

2 years agoFix typo.
Bastien Montagne [Sun, 6 Jan 2019 17:21:57 +0000 (18:21 +0100)]
Fix typo.

2 years agoGP: Fix missing initialization converting 2.7 files
Antonioya [Sun, 6 Jan 2019 16:22:03 +0000 (17:22 +0100)]
GP: Fix missing initialization converting 2.7 files

2 years agoFix T60213: crash loading .blend file with material override.
Brecht Van Lommel [Sun, 6 Jan 2019 14:22:47 +0000 (15:22 +0100)]
Fix T60213: crash loading .blend file with material override.

2 years agoUI: tweaks to user preferences layout.
Brecht Van Lommel [Sun, 6 Jan 2019 11:56:18 +0000 (12:56 +0100)]
UI: tweaks to user preferences layout.

* Expand more sub-panels by default.
* Move release confirms and numeric input settings to Input.
* Move 3D cursor settings to Editing.
* Move region overlap to Interface.

2 years agoCleanup: add trailing commas to structs
Campbell Barton [Sun, 6 Jan 2019 13:06:58 +0000 (00:06 +1100)]
Cleanup: add trailing commas to structs

Needed for clang formatting to workaround bug/limit, see: T53211

2 years agoobject.dimensions: add warning about multiple consecutive assignments.
Bastien Montagne [Sun, 6 Jan 2019 12:11:31 +0000 (13:11 +0100)]
object.dimensions: add warning about multiple consecutive assignments.

Since this is API-only prop now, it's worth warning about that
limitation.

Follow-up to comments in rB9c928bb93e04.

2 years agoFix T60187: Latest couple of builds fail to run, need libGLX.so.0
Sergey Sharybin [Sun, 6 Jan 2019 10:51:38 +0000 (11:51 +0100)]
Fix T60187: Latest couple of builds fail to run, need libGLX.so.0

2 years agoUI: tweak preferences
Campbell Barton [Sun, 6 Jan 2019 09:41:03 +0000 (20:41 +1100)]
UI: tweak preferences

- Move author to save&load
  (was incorrectly under text editor).
- Rename Memory -> Memory/Limits
  (some of the settings aren't obviously todo with memory).

2 years agoCleanup: style, line length
Campbell Barton [Sun, 6 Jan 2019 09:26:08 +0000 (20:26 +1100)]
Cleanup: style, line length

2 years agofix T59743: Collada exporter: Add option for exporting flat curves
Gaia Clary [Sat, 5 Jan 2019 20:36:28 +0000 (21:36 +0100)]
fix T59743: Collada exporter: Add option for exporting flat curves

The Collada exporter suppresses the export of flat animation curves
to optimize the animation (in fact to make the exported file smaller).

But sometimes it is important to also have the flat curves exported
because they may be needed to define an initial transformation to
a fixed location - like translating the weapon from the ground floor
to the back of the model in the report.

I added a new option "all keyed curves" which is disabled by default
but when enabled it also exports flat curves.

feedback is very welcome

2 years agoCorrect version patching of Preferences theme
Julian Eisel [Sat, 5 Jan 2019 18:43:09 +0000 (19:43 +0100)]
Correct version patching of Preferences theme

In a77b63c56943eb, the Preferences navigation region background was
made brighter. Recently stored userpref.blends (since b00963afc14978b,
so beta release included) would still use the slightly darker
background for the Preferences navigation region.
Now the version patch added for a77b63c56943eb also sets the new color
for those recent configs.

2 years agofix T60092 collada exporter: exporting a rig with one single bone fails
Gaia Clary [Sat, 5 Jan 2019 17:03:49 +0000 (18:03 +0100)]
fix T60092 collada exporter: exporting a rig with one single bone fails

The problem was that removing entries from a vetor while iterating
the vector was implemented badly. This caused the failure when only
one element was in vector.

2 years agoFix T60183: Images as Planes (addon) Attribute Error.
Bastien Montagne [Sat, 5 Jan 2019 15:33:38 +0000 (16:33 +0100)]
Fix T60183: Images as Planes (addon) Attribute Error.

Partially revert rB1b8c3774a86ebc04fceb9cd, there is no good reason to
make object.dimensions read-only, it works perfectly well from python
API! Only breaking case was that weird multi-editing UI feature, due to
how it sets things. But RNA setter itself works fine, and it's a handy
shortcut/helper for scripts.

Also when breaking API, it is good practivce to at least check official
add-ons...

2 years agoTheme: update
Campbell Barton [Sat, 5 Jan 2019 10:32:38 +0000 (21:32 +1100)]
Theme: update

2 years agoUI: length now scales proportionally w/ multi-but
Campbell Barton [Sat, 5 Jan 2019 09:09:25 +0000 (20:09 +1100)]
UI: length now scales proportionally w/ multi-but

Use for object dimensions.

2 years agoCleanup: 3d view panel median value storage
Campbell Barton [Sat, 5 Jan 2019 01:18:02 +0000 (12:18 +1100)]
Cleanup: 3d view panel median value storage

2 years agoCleanup: avoid function call for pointer compare
Campbell Barton [Sat, 5 Jan 2019 08:55:25 +0000 (19:55 +1100)]
Cleanup: avoid function call for pointer compare

2 years agoNLA: rewrite evaluation channel data structures.
Alexander Gavrilov [Sat, 15 Dec 2018 13:09:27 +0000 (16:09 +0300)]
NLA: rewrite evaluation channel data structures.

Implementing a new intelligent mixing mode that combines quaternions
via multiplication requires rewriting the NLA code to recombine array
properties from separate scalar channels during evaluation.

In addition, stable evaluation of NLA stack requires that any channel
that is touched by any of the actions in the stack should always be
set to a definite value by evaluation, even if no strip affects it
at this point of the timeline. The obvious choice for the fallback
is the default value of the property.

To make scanning all actions reasonably efficient, mapping paths to
channels should be done using hash tables.

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

2 years agoUI: Preferences Redesign Part 2
Severin [Fri, 4 Jan 2019 20:40:16 +0000 (21:40 +0100)]
UI: Preferences Redesign Part 2

(Part 1 was 00963afc14978b)

Does the following changes visible to users:
* Use panels and sub-panels for more structured & logical grouping
* Re-organized options more logically than before (see images in D4148)
* Use flow layout (single column by default).
* New layout uses horizontal margin if there's enough space.
* Change size of Preferences window to suit new layout.
* Move keymap related options from "Input" into own section.
* Own, left-bottom aligned region for Save Preferences button.
* Adjustments of names, tooltips & icons.
* Move buttons from header into the main region (except editor switch).
* Hide Preferences header when opened in temporary window.
* Use full area width for header.
* Don't use slider but regular number widget for UI scale.
* Gray out animation player path option if player isn't "Custom"

Internal changes:
* Rearrange RNA properties to match changed UI structure.
* Introduces new "EXECUTE" region type, see reasoning in D3982.
* Changes to panel layout and AZone code for dynamic panel region.
* Bumps subversion and does versioning for new regions.

RNA changes are documented in the release notes:
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Preferences_API

Design & implementation mostly done by @billreynish and myself.
I recommend checking out the screenshots posted by William:
https://developer.blender.org/D4148#93787

Reviewed By: brecht

Maniphest Tasks: T54115

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

2 years agoGP: Add Fill keyframe if active not equal to CFRA
Antonioya [Fri, 4 Jan 2019 18:35:42 +0000 (19:35 +0100)]
GP: Add Fill keyframe if active not equal to CFRA

When fill a stroke if the fill layer hasn't keyframe, the fill is wrong because previous fill shape hide area to fill.

Now, if the keyframe is missing in the active layer for the current frame, a new frame is added.

2 years agoFix T57890: freestyle rendering crash.
Brecht Van Lommel [Fri, 4 Jan 2019 16:35:07 +0000 (17:35 +0100)]
Fix T57890: freestyle rendering crash.

Depsgraph objects are deleted after conversion to Freestyle data structures,
so don't keep a pointer to their name strings.

2 years agoFix T60157: Applying subdivide GP modifier gets wrong fill
Antonioya [Fri, 4 Jan 2019 16:18:03 +0000 (17:18 +0100)]
Fix T60157: Applying subdivide GP modifier gets wrong fill

The problem was the triangulation cache was not initializated.

2 years agoFix T58669, T59772: freestyle + EEVEE render not working.
Brecht Van Lommel [Fri, 4 Jan 2019 16:06:50 +0000 (17:06 +0100)]
Fix T58669, T59772: freestyle + EEVEE render not working.

2 years agoFix T59546: Grease Pencil Edit: Rotation around individual origins error
Antonioya [Fri, 4 Jan 2019 16:01:39 +0000 (17:01 +0100)]
Fix T59546: Grease Pencil Edit: Rotation around individual origins error

Thanks to Habib Gahbiche (@zazizizou) for helping fixing this bug. See D4156.

2 years agoFix T58692: splash screen next not working when using BLENDER_USER_CONFIG.
Brecht Van Lommel [Fri, 4 Jan 2019 15:24:11 +0000 (16:24 +0100)]
Fix T58692: splash screen next not working when using BLENDER_USER_CONFIG.

2 years agoDepsgraph: Fix missing relation from node tree to light
Sergey Sharybin [Fri, 4 Jan 2019 15:17:53 +0000 (16:17 +0100)]
Depsgraph: Fix missing relation from node tree to light

Was only happening when lamp had driver on the Light datablock.

Reported by Dalai Felinto in T60137.

2 years agoFix T60124: Multires modifier not reading data from external files
Sergey Sharybin [Fri, 4 Jan 2019 14:57:44 +0000 (15:57 +0100)]
Fix T60124: Multires modifier not reading data from external files

2 years agoSilence warning
Dalai Felinto [Fri, 4 Jan 2019 14:57:17 +0000 (12:57 -0200)]
Silence warning

2 years agoOutliner: better support for clips/masks ('Blender File' view)
Philipp Oeser [Sat, 29 Dec 2018 17:26:04 +0000 (18:26 +0100)]
Outliner: better support for clips/masks ('Blender File' view)

- clips/masks were not showing an icon [both dont have a dedicated icon,
took the ones used elsewhere]
- masks hit an assert in outliner_add_element()
- missing outliner update when adding a mask

spotted while looking into T59939

Reviewers: mont29, brecht

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

2 years agoUI: fix incorrect collapse menu button alignment.
Harley Acheson [Fri, 4 Jan 2019 14:12:12 +0000 (15:12 +0100)]
UI: fix incorrect collapse menu button alignment.

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

2 years agoUI: make text editor scrollbar with consistent with other editors.
Harley Acheson [Fri, 4 Jan 2019 14:11:59 +0000 (15:11 +0100)]
UI: make text editor scrollbar with consistent with other editors.

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

2 years agoUI: alter scrollbar extents to not interfere with split/join areas.
Harley Acheson [Fri, 4 Jan 2019 14:11:51 +0000 (15:11 +0100)]
UI: alter scrollbar extents to not interfere with split/join areas.

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

2 years agoUI: fix incorrect area splitting shape in corners.
Harley Acheson [Fri, 4 Jan 2019 14:09:11 +0000 (15:09 +0100)]
UI: fix incorrect area splitting shape in corners.

It was intended to be a quarter-circle, however it was oriented wrong.
Since the triangle is no longer visible and does not overlap with the
button anymore, this just makes it a square.

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

2 years agoUI: fix display of menu buttons without text and icon, and only a down arrow.
Harley Acheson [Fri, 4 Jan 2019 14:08:47 +0000 (15:08 +0100)]
UI: fix display of menu buttons without text and icon, and only a down arrow.

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

2 years agoUI: fix too wide resize area on edges of nodes, interfering with content.
Harley Acheson [Fri, 4 Jan 2019 14:08:24 +0000 (15:08 +0100)]
UI: fix too wide resize area on edges of nodes, interfering with content.

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

2 years agoFix T59898: Slow modifier stack on trasnform
Sergey Sharybin [Fri, 4 Jan 2019 13:47:16 +0000 (14:47 +0100)]
Fix T59898: Slow modifier stack on trasnform

2 years agoFix T58657: blender 2.7 keymap Alt+A does not work for animation playback.
Brecht Van Lommel [Fri, 4 Jan 2019 13:34:07 +0000 (14:34 +0100)]
Fix T58657: blender 2.7 keymap Alt+A does not work for animation playback.

2 years agoFix T59946: multiple quit dialogs possible.
Sebastian Parborg [Fri, 4 Jan 2019 13:23:49 +0000 (14:23 +0100)]
Fix T59946: multiple quit dialogs possible.

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

2 years agoFix T60068: missing viewport update when renaming objects in outliner.
Sebastian Parborg [Fri, 4 Jan 2019 13:21:35 +0000 (14:21 +0100)]
Fix T60068: missing viewport update when renaming objects in outliner.

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

2 years agoFix T60132: Convert hair particles to mesh
Sergey Sharybin [Fri, 4 Jan 2019 13:28:47 +0000 (14:28 +0100)]
Fix T60132: Convert hair particles to mesh

Needed to port operator to use evaluated particle system.

But also changed interface to always show Convert button when
draw type is set to Path (Hair particle system is forced to
be draws as path). This avoid rather expensive lookup on every
redraw, but will show Convert button for un-baked particle
emitter.

Probably, an acceptable compromise.

2 years agoPartial fix T60148: EEVEE hangs when anamorphic bokeh is too low
Dalai Felinto [Fri, 4 Jan 2019 13:15:23 +0000 (11:15 -0200)]
Partial fix T60148: EEVEE hangs when anamorphic bokeh is too low

Fixed by setting the limit to the original limit I used for Cycles.
Rendering still goes extremely slow when bokeh is lower than 1.0.

But at least now it is "waitable". With lower numbers than 0.01 I don't
think we would ever get a render to finish.

@fclem feel free to address the real root of the problem, but I'm afraid
it may be a limitation of the algorithm you are using.

2 years agoFix T59768: UV context menu showing in image editor.
Brecht Van Lommel [Fri, 4 Jan 2019 12:47:50 +0000 (13:47 +0100)]
Fix T59768: UV context menu showing in image editor.

2 years agoEEVEE DoF: Fix runtime error: division by zero when blades was 0
Dalai Felinto [Fri, 4 Jan 2019 12:25:59 +0000 (10:25 -0200)]
EEVEE DoF: Fix runtime error: division by zero when blades was 0

Even though the fragment shader was already discarding all members of
dof_bokeh_sides when blades was zero, the C code was still trying to
use this for a few divisions leading to runtime asserts.

Those are harmless yet can lead some to waste time while pursuiting
other bugs (namely a near freeze when blades aspect ratio is too low).

2 years agoFix T60044: Sculpting brush is not visible on file load
Dalai Felinto [Wed, 2 Jan 2019 11:34:41 +0000 (09:34 -0200)]
Fix T60044: Sculpting brush is not visible on file load

The original issue is that wm->paintcursors is empty until we go in and
out of the sculpt mode. To fix this we need to toggle inside the sculpt
mode.

This is usually tackled by ED_editors_init(), however the sculpt mode
toggling was never call because the object technically had "mode data".

Reviewers: campbellbarton

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

2 years agoCleanup: Spelling
Sergey Sharybin [Fri, 4 Jan 2019 11:51:10 +0000 (12:51 +0100)]
Cleanup: Spelling

2 years agoProvide more information on unknown GPU
Sergey Sharybin [Fri, 4 Jan 2019 11:50:05 +0000 (12:50 +0100)]
Provide more information on unknown GPU

2 years agoMerge branch 'blender2.7'
Sergey Sharybin [Fri, 4 Jan 2019 11:42:13 +0000 (12:42 +0100)]
Merge branch 'blender2.7'

2 years agoRecognize llvmpipe renderer as software OpenGL
Sergey Sharybin [Fri, 4 Jan 2019 11:41:35 +0000 (12:41 +0100)]
Recognize llvmpipe renderer as software OpenGL

2 years agoObject: don't flip scale when setting dimensions
Campbell Barton [Fri, 4 Jan 2019 08:58:18 +0000 (19:58 +1100)]
Object: don't flip scale when setting dimensions

2 years agoFix T54771: Can't change multiple dimensions at once
Campbell Barton [Fri, 4 Jan 2019 08:52:13 +0000 (19:52 +1100)]
Fix T54771: Can't change multiple dimensions at once

- Use non-rna button for adjusting dimensions.
- Make Object.dimensions RNA read-only since it never worked well.
  This is mainly a UI editing feature.

2 years agoCleanup: unused calculation
Campbell Barton [Fri, 4 Jan 2019 08:08:46 +0000 (19:08 +1100)]
Cleanup: unused calculation

2 years agoCleanup: indentation (right shift)
Campbell Barton [Fri, 4 Jan 2019 08:08:09 +0000 (19:08 +1100)]
Cleanup: indentation (right shift)

2 years agoMerge branch 'blender2.7'
Campbell Barton [Fri, 4 Jan 2019 06:08:34 +0000 (17:08 +1100)]
Merge branch 'blender2.7'

2 years agoFix T60099: Inconsistent normals from spin tool
Campbell Barton [Fri, 4 Jan 2019 05:23:04 +0000 (16:23 +1100)]
Fix T60099: Inconsistent normals from spin tool

2 years agoSpin Tool: don't flip when using a negative angle
Campbell Barton [Fri, 4 Jan 2019 05:17:49 +0000 (16:17 +1100)]
Spin Tool: don't flip when using a negative angle

The intention was to flip normals when extruding in the opposite
direction, however the sign of the angle isn't meaningful unless
the geometry center and region normal are taken into account.

Disable, may add back in a way that works more predictably.

2 years agoFix eternal loop in spin tool merge first/last
Campbell Barton [Fri, 4 Jan 2019 05:08:42 +0000 (16:08 +1100)]
Fix eternal loop in spin tool merge first/last

2 years agoHaiku: build fix
Campbell Barton [Fri, 4 Jan 2019 06:04:04 +0000 (17:04 +1100)]
Haiku: build fix

D4130 by @miqlas

2 years agoHaiku: build fix
Campbell Barton [Fri, 4 Jan 2019 06:04:04 +0000 (17:04 +1100)]
Haiku: build fix

D4130 by @miqlas

2 years agoFix T60099: Inconsistent normals from spin tool
Campbell Barton [Fri, 4 Jan 2019 05:23:04 +0000 (16:23 +1100)]
Fix T60099: Inconsistent normals from spin tool

2 years agoSpin Tool: don't flip when using a negative angle
Campbell Barton [Fri, 4 Jan 2019 05:17:49 +0000 (16:17 +1100)]
Spin Tool: don't flip when using a negative angle

The intention was to flip normals when extruding in the opposite
direction, however the sign of the angle isn't meaningful unless
the geometry center and region normal are taken into account.

Disable, may add back in a way that works more predictably.

2 years agoFix eternal loop in spin tool merge first/last
Campbell Barton [Fri, 4 Jan 2019 05:08:42 +0000 (16:08 +1100)]
Fix eternal loop in spin tool merge first/last

2 years agoMerge branch 'blender2.7'
Campbell Barton [Fri, 4 Jan 2019 00:26:11 +0000 (11:26 +1100)]
Merge branch 'blender2.7'

2 years agoCleanup: use typed unsigned ints
Campbell Barton [Fri, 4 Jan 2019 00:09:18 +0000 (11:09 +1100)]
Cleanup: use typed unsigned ints

2 years agoCleanup: use typed unsigned ints
Campbell Barton [Fri, 4 Jan 2019 00:05:53 +0000 (11:05 +1100)]
Cleanup: use typed unsigned ints

2 years agoUI: refactor layout vars out of uiFontStyle
Campbell Barton [Thu, 3 Jan 2019 22:58:03 +0000 (09:58 +1100)]
UI: refactor layout vars out of uiFontStyle

Word wrap and alignment layout args only used by UI_fontstyle_draw
were vars in uiFontStyle.
These were written to before drawing, so better pass as an argument.

Pass uiFontStyle & uiWidgetColors as const args.

2 years agoMissed last commit
Campbell Barton [Thu, 3 Jan 2019 21:37:17 +0000 (08:37 +1100)]
Missed last commit

2 years ago3D View: use full opacity by default
Campbell Barton [Thu, 3 Jan 2019 21:21:07 +0000 (08:21 +1100)]
3D View: use full opacity by default

Vertex paint overlays the color w/ solid mode,
Having a partial overlay makes the sample tool not give useful results.

2 years agoFix T60101: vertex paint color sample
Sebastian Parborg [Thu, 3 Jan 2019 21:02:17 +0000 (08:02 +1100)]
Fix T60101: vertex paint color sample

2 years agoFix T59049: some modal transform keys no working in custom keymaps.
Brecht Van Lommel [Thu, 3 Jan 2019 18:53:46 +0000 (19:53 +0100)]
Fix T59049: some modal transform keys no working in custom keymaps.

2 years agoFix T58113 Multiple problems with bevel harden normals.
Howard Trickey [Thu, 3 Jan 2019 18:39:52 +0000 (13:39 -0500)]
Fix T58113 Multiple problems with bevel harden normals.

Move the bevel hardening code all into bmesh_bevel.c.
Based on user feedback, rewrote the bevel hardening algorithm
to be more what users want.
Based on user feedback, changed the UI, removing some
not-useful options. Now hardening normals while beveling
is enabled by a simple checkbox.
Now setting face strength gives options for which faces
get their face strength set.

2 years agoFix T59349: Cycles viewport render flickering when changing some settings.
Brecht Van Lommel [Thu, 3 Jan 2019 18:21:10 +0000 (19:21 +0100)]
Fix T59349: Cycles viewport render flickering when changing some settings.

2 years agoMerge branch 'blender2.7'
Brecht Van Lommel [Thu, 3 Jan 2019 17:32:51 +0000 (18:32 +0100)]
Merge branch 'blender2.7'

2 years agoFix for T58250 fix: Blender failing to start with OpenGL context < 4.5.
Brecht Van Lommel [Thu, 3 Jan 2019 17:28:46 +0000 (18:28 +0100)]
Fix for T58250 fix: Blender failing to start with OpenGL context < 4.5.

2 years agoCleanup: don't do nodetree verification/versioning twice.
Brecht Van Lommel [Thu, 3 Jan 2019 16:58:59 +0000 (17:58 +0100)]
Cleanup: don't do nodetree verification/versioning twice.

2 years agoFix T60073: can't unlink by dragging from some node input sockets.
Brecht Van Lommel [Thu, 3 Jan 2019 17:20:30 +0000 (18:20 +0100)]
Fix T60073: can't unlink by dragging from some node input sockets.

2 years agoFix T60022: Crash when adding grease pencil object to a collection disabled in viewport.
Antonioya [Thu, 3 Jan 2019 17:10:39 +0000 (18:10 +0100)]
Fix T60022: Crash when adding grease pencil object to a collection disabled in viewport.

See D4163

Thanks to Habib Gahbiche (@zazizizou) for the fix.

2 years agoFix T59925: Crash when adding any generative modifier on a curve with more than one...
Bastien Montagne [Thu, 3 Jan 2019 17:01:56 +0000 (18:01 +0100)]
Fix T59925: Crash when adding any generative modifier on a curve with more than one material.

Am not totally convinced that generating meshes without fully valid
material info is a good thing, but this seems to be rather common in our
code base (in both mesh editing and convert-to-mesh cases).

So for now, duplicated code in mesh eval finalization to main displist
creation/eval function, synchronizing mat data at the end of modifiers
stack eval, if needed.

2 years agoDon't link against GLU library
Sergey Sharybin [Thu, 3 Jan 2019 16:42:04 +0000 (17:42 +0100)]
Don't link against GLU library

We are core profile now, no need to link against GLU.

This change makes it so Blender binary is not dependent on liGLU.so.
That was a weird thing that Blender was dependent on it, but was not
using any functions from it.

2 years agoFix T54962: Cycles crash using subsurface scattering texture blur.
Brecht Van Lommel [Thu, 3 Jan 2019 16:08:46 +0000 (17:08 +0100)]
Fix T54962: Cycles crash using subsurface scattering texture blur.

2 years agoFix T58250: crash starting Blender on X11 without OpenGL 3.3.
Brecht Van Lommel [Thu, 3 Jan 2019 15:43:09 +0000 (16:43 +0100)]
Fix T58250: crash starting Blender on X11 without OpenGL 3.3.

Instead display an error message and exit.

2 years agoFix T60119: incorrect filter size in new scenes.
Brecht Van Lommel [Thu, 3 Jan 2019 14:59:01 +0000 (15:59 +0100)]
Fix T60119: incorrect filter size in new scenes.

2 years agoFix T59072: Text extrusion cannot be animated
Sergey Sharybin [Thu, 3 Jan 2019 14:44:53 +0000 (15:44 +0100)]
Fix T59072: Text extrusion cannot be animated

2 years agoFix incorrect drawing of material list outline, after recent changes.
Brecht Van Lommel [Thu, 3 Jan 2019 14:38:22 +0000 (15:38 +0100)]
Fix incorrect drawing of material list outline, after recent changes.

For draw cache flushing the default blend mode needs to be set.