2 years agoMerge branch 'blender2.7'
Brecht Van Lommel [Thu, 24 Jan 2019 18:02:10 +0000 (19:02 +0100)]
Merge branch 'blender2.7'

2 years agoFix T60597, T60806: Cycles crash rendering principled BSDF + volume interior.
Brecht Van Lommel [Thu, 24 Jan 2019 14:15:57 +0000 (15:15 +0100)]
Fix T60597, T60806: Cycles crash rendering principled BSDF + volume interior.

The integrator maximum number of closures was not set properly for the CPU/mega
kernels to match the actual available memory. Before relatively recent code
refactoring we did not use this value in those kernels so it worked fine.

2 years agoFix T60350: Removed objects that are still in the outliner will crash Blender.
Bastien Montagne [Thu, 24 Jan 2019 16:44:13 +0000 (17:44 +0100)]
Fix T60350: Removed objects that are still in the outliner will crash Blender.

We need to force UI to fully redraw, BKE_id_delete & co won't do that
for us.

2 years agoCleanup: remove unused "guide_origin" property
Jacques Lucke [Thu, 24 Jan 2019 16:39:14 +0000 (17:39 +0100)]
Cleanup: remove unused "guide_origin" property

2 years agoFix T60816: Specify subtype for some properties of mesh operators
Jacques Lucke [Thu, 24 Jan 2019 16:38:05 +0000 (17:38 +0100)]
Fix T60816: Specify subtype for some properties of mesh operators

Reviewers: brecht

Differential Revision:

2 years agobring back possibility to override camera per view
Philipp Oeser [Thu, 24 Jan 2019 16:20:04 +0000 (17:20 +0100)]
bring back possibility to override camera per view

this can now be found in the sidebar View panel

- uses existing 'lock_camera_and_layers' but renames the property to
- uses RNA_def_property_boolean_negative_sdna to flip the value
- remove the local view code in
- update Python code
- update Addons code will be separate commit

Fixes T60756

Reviewers: billreynish, brecht

Maniphest Tasks: T60756

Differential Revision:

2 years agoFix T60095: freestyle not rendering animated camera correctly.
Brecht Van Lommel [Thu, 24 Jan 2019 15:34:26 +0000 (16:34 +0100)]
Fix T60095: freestyle not rendering animated camera correctly.

Replace legacy view matrix access with same one used by Eevee.

2 years agoFix freestyle renders not including some types of animation.
Brecht Van Lommel [Thu, 24 Jan 2019 06:08:19 +0000 (07:08 +0100)]
Fix freestyle renders not including some types of animation.

Freestyle Python scripts need to get the evaluated view layer and scene,
not the original one.

2 years agoFix T60625: freestyle colletion include / exclude not working.
Brecht Van Lommel [Thu, 24 Jan 2019 15:08:03 +0000 (16:08 +0100)]
Fix T60625: freestyle colletion include / exclude not working.

2 years agoFix T60669: freestyle rendering holdout / indirect only collections.
Brecht Van Lommel [Thu, 24 Jan 2019 06:14:28 +0000 (07:14 +0100)]
Fix T60669: freestyle rendering holdout / indirect only collections.

To match Cycles we can hide freestyle lines for these.

2 years agoFix T59175: Compress file isn't working when Load UI is disabled.
Bastien Montagne [Thu, 24 Jan 2019 15:11:53 +0000 (16:11 +0100)]
Fix T59175: Compress file isn't working when Load UI is disabled.

Do not see why flags from loaded file should be skipped when we do not
load UI, this is not related to UI...

Think we can keep flags from file in both cases, should this raise some
other issue we'll just have to fine tune masked flags in each case

2 years agoFix GPU linking Error.
mano-wii [Thu, 24 Jan 2019 14:41:07 +0000 (12:41 -0200)]
Fix GPU linking Error.

"The geometry shader uses varying _I;gl_PerVertex;gl_ClipDistance, but previous shader does not write to it."

2 years agoMerge branch 'blender2.7'
Bastien Montagne [Thu, 24 Jan 2019 15:16:05 +0000 (16:16 +0100)]
Merge branch 'blender2.7'

2 years agoFix T59175: Compress file isn't working when Load UI is disabled.
Bastien Montagne [Thu, 24 Jan 2019 15:11:53 +0000 (16:11 +0100)]
Fix T59175: Compress file isn't working when Load UI is disabled.

Do not see why flags from loaded file should be skipped when we do not
load UI, this is not related to UI...

Think we can keep flags from file in both cases, should this raise some
other issue we'll just have to fine tune masked flags in each case

2 years agoMerge branch 'blender2.7'
Brecht Van Lommel [Thu, 24 Jan 2019 14:44:06 +0000 (15:44 +0100)]
Merge branch 'blender2.7'

2 years agoCycles: change default displacement method to bump mapping again.
Brecht Van Lommel [Thu, 24 Jan 2019 14:15:57 +0000 (15:15 +0100)]
Cycles: change default displacement method to bump mapping again.

Even though it makes sense logically to have displacement actually displace
the mesh, this is causing a lot of confusion for existing users that are used
to the previous behavior. Further, since Eevee does not support displacement
yet and the discrepancy between the viewport and final render is problematic.

2 years agoFix T60133: texture paint external editing not working
Philipp Oeser [Wed, 23 Jan 2019 14:00:58 +0000 (15:00 +0100)]
Fix T60133: texture paint external editing not working

Operator relys on 3DView and was failing from Topbar and Properties
Editor. Now tries to find the biggest 3DView and uses that.

Reviewers: brecht

Maniphest Tasks: T60133

Differential Revision:

2 years agoAnimation player: tweaks for zooming in and out
Sergey Sharybin [Thu, 24 Jan 2019 14:07:53 +0000 (15:07 +0100)]
Animation player: tweaks for zooming in and out

Use zoom steps lower than 1. This allows to zoom out a high-res
image. For example, before it was not possible to maker 4K image
to fit on FullHD monitor.

Also, don't force zoom to be above 1. Not sure why that was done,
but this disallows zooming out.

It is still not possible to zoom in higher than the window size
allows. In order to support this the player needs to be refactored
in a way that allows to decouple zoom from window size.

Fixes T59177: Animplayer extreme zooms in when playing rendered animation

2 years agoFix T59972: UV live unwrap does not pack islands.
Brecht Van Lommel [Thu, 24 Jan 2019 11:14:24 +0000 (12:14 +0100)]
Fix T59972: UV live unwrap does not pack islands.

Packing was not being called after multi-object editing changes. Includes code
refactoring to make function parameters more clear.

2 years agoFix T59933: timeline keyframe display not updating when selecting objects.
Brecht Van Lommel [Thu, 24 Jan 2019 13:48:45 +0000 (14:48 +0100)]
Fix T59933: timeline keyframe display not updating when selecting objects.

2 years agoFix T58502: scopes don't work in the image editor
Jacques Lucke [Thu, 24 Jan 2019 13:36:52 +0000 (14:36 +0100)]
Fix T58502: scopes don't work in the image editor

There were two problems:
1. The scopes were only updated when the "Scopes" category is active,
   but this category has been removed in Blender 2.8.
2. The scopes moved from the TOOLS to the UI region.
   However the update-code still searched for the "Scopes" category
   in the TOOLS region.

Both problems are fixed with this commit:
1. Scopes have there own category again.
2. The update code is in the correct draw function now.

Reviewers: brecht

Differential Revision:

2 years agoFix T60810: crash editing mesh with subdivision modifier
Philipp Oeser [Thu, 24 Jan 2019 09:24:19 +0000 (10:24 +0100)]
Fix T60810: crash editing mesh with subdivision modifier

typo in rBdc7e49298940

Reviewers: fclem

Maniphest Tasks: T60810

Differential Revision:

2 years agoFix T60795: Crash when joining objects with shape keys.
Bastien Montagne [Thu, 24 Jan 2019 13:31:47 +0000 (14:31 +0100)]
Fix T60795: Crash when joining objects with shape keys.

Stupid mistake really, cannot use NO_MAIN here, temp shapekey is in
Main. Using/fully supporting out-of-main temp IDs is still a bit WIP...

2 years agoMultires reshape: correct grids level allocation
Sergey Sharybin [Thu, 24 Jan 2019 13:23:14 +0000 (14:23 +0100)]
Multires reshape: correct grids level allocation

Similar to masking grids, need to also check existing grid level.

This is because edit mode might leave allocated grid with 0 levels.

2 years agoFix T59423: Mesh deform modifier bind bug causing spiky deformations.
mano-wii [Thu, 24 Jan 2019 12:32:28 +0000 (10:32 -0200)]
Fix T59423: Mesh deform modifier bind bug causing spiky deformations.

Same as rBac316a6526c7.
(I should have commited in 2.7 first and then merged in 2.8).

2 years agoFix T59423: Mesh deform modifier bind bug causing spiky deformations.
mano-wii [Thu, 24 Jan 2019 12:20:25 +0000 (10:20 -0200)]
Fix T59423: Mesh deform modifier bind bug causing spiky deformations.

The intersection was being tested between ray and tri, the correct one is segment and tri.

2 years agoFix T59145: don't clamp color value in Hue Saturation Value node in eevee
Jacques Lucke [Thu, 24 Jan 2019 12:58:59 +0000 (13:58 +0100)]
Fix T59145: don't clamp color value in Hue Saturation Value node in eevee

2 years agoFix T60807: Can't select when active pose object is hidden
Campbell Barton [Thu, 24 Jan 2019 12:06:29 +0000 (23:06 +1100)]
Fix T60807: Can't select when active pose object is hidden

Object mode locking wasn't accounting for the 3D view context
which doesn't have an active object once its hidden.

2 years agoCleanup: use braces for single line if statements
Campbell Barton [Thu, 24 Jan 2019 11:59:55 +0000 (22:59 +1100)]
Cleanup: use braces for single line if statements

2 years agoCleanup: Replace BASACT use w/ a variable
Campbell Barton [Thu, 24 Jan 2019 11:56:55 +0000 (22:56 +1100)]
Cleanup: Replace BASACT use w/ a variable

2 years agoCleanup: remove make wrapper
Campbell Barton [Thu, 24 Jan 2019 12:24:25 +0000 (23:24 +1100)]
Cleanup: remove make wrapper

Intended for silent build output,
ninja build system can do this now.

2 years agoCleanup: removed unused 3D view header template.
Brecht Van Lommel [Thu, 24 Jan 2019 12:19:23 +0000 (13:19 +0100)]
Cleanup: removed unused 3D view header template.

2 years agoFix T58216: backdrop drawing in sequencer broken.
Brecht Van Lommel [Thu, 24 Jan 2019 11:38:40 +0000 (12:38 +0100)]
Fix T58216: backdrop drawing in sequencer broken.

2 years agoSubdiv: Fix wrong orig_index for vertices of a loose edge
Sergey Sharybin [Thu, 24 Jan 2019 11:13:15 +0000 (12:13 +0100)]
Subdiv: Fix wrong orig_index for vertices of a loose edge

2 years agoFix T60408: Loose edge distort vertex on a surface
Sergey Sharybin [Thu, 24 Jan 2019 11:05:32 +0000 (12:05 +0100)]
Fix T60408: Loose edge distort vertex on a surface

Treat those vertices as infinitely sharp. This matches the way
how OpenSubdiv's topology is being created.

2 years agoFix T60805: Grease Pencil Rim Effect Problem
Antonioya [Thu, 24 Jan 2019 10:33:14 +0000 (11:33 +0100)]
Fix T60805: Grease Pencil Rim Effect Problem

The problem was related to cache data that was removed from memory before the FX  finished. This could affect to any FX.

Now all the information is saved in the FX itself in runtime struct to keep memory safe when cache memory is released.

2 years agoGP: Use matrix location instead of loc
Antonioya [Thu, 24 Jan 2019 09:46:10 +0000 (10:46 +0100)]
GP: Use matrix location instead of loc

2 years agoFix T54581: Clip editor doesn't synchronize frame on layout change
Sergey Sharybin [Thu, 24 Jan 2019 09:36:42 +0000 (10:36 +0100)]
Fix T54581: Clip editor doesn't synchronize frame on layout change

2 years agoDRW: support clipping for object outlines (unselected)
Campbell Barton [Thu, 24 Jan 2019 08:13:38 +0000 (19:13 +1100)]
DRW: support clipping for object outlines (unselected)

2 years agoDRW: support clipping for object outlines
Campbell Barton [Thu, 24 Jan 2019 07:27:26 +0000 (18:27 +1100)]
DRW: support clipping for object outlines

2 years agoFix T60790, T60636, T60631: MMB emulation issues after recent changes.
Brecht Van Lommel [Thu, 24 Jan 2019 06:06:49 +0000 (07:06 +0100)]
Fix T60790, T60636, T60631: MMB emulation issues after recent changes.

The statusbar keymap display should not affect actual event handling.

2 years agoCleanup: fix compiler warnings.
Brecht Van Lommel [Thu, 24 Jan 2019 06:30:24 +0000 (07:30 +0100)]
Cleanup: fix compiler warnings.

2 years agoDRW: use clipping for depth buffer
Campbell Barton [Thu, 24 Jan 2019 06:12:06 +0000 (17:12 +1100)]
DRW: use clipping for depth buffer

Object selection now supports clipping.

2 years agoCleanup: trailing space guardedalloc & memutil
Campbell Barton [Thu, 24 Jan 2019 05:20:16 +0000 (16:20 +1100)]
Cleanup: trailing space guardedalloc & memutil

2 years agoCorrect doxy file
Campbell Barton [Thu, 24 Jan 2019 05:19:45 +0000 (16:19 +1100)]
Correct doxy file

2 years agoDRW: API for own versions of builtin GPU shaders
Campbell Barton [Thu, 24 Jan 2019 04:02:40 +0000 (15:02 +1100)]
DRW: API for own versions of builtin GPU shaders

DRW_shader_get_builtin_shader can replace GPU_shader_get_builtin_shader
when we need to support clipping.

Use this for loose point & wire drawing in object mode,
clips edges in lattice edit mode.

2 years agoWM: Repeat Last no longer reuses skip-save properties
Campbell Barton [Thu, 24 Jan 2019 01:06:47 +0000 (12:06 +1100)]
WM: Repeat Last no longer reuses skip-save properties

PROP_SKIP_SAVE is often used as a way to detect the difference between
adjusting options from the redo panel and initial execution.

Repeat last operator was executing with skip-save properties set,
preventing operators from initializing them based on the context.

Fixes 60777.

2 years agoFix theme color use for clipping region
Campbell Barton [Wed, 23 Jan 2019 23:35:34 +0000 (10:35 +1100)]
Fix theme color use for clipping region

Color needed to be converted to linear in the engine,
not the theme.

2 years agoCleanup: style
Campbell Barton [Wed, 23 Jan 2019 22:27:14 +0000 (09:27 +1100)]
Cleanup: style

2 years agoFix T60417: Hair not instantly updating when editing curve guide
Philipp Oeser [Fri, 11 Jan 2019 12:13:55 +0000 (13:13 +0100)]
Fix T60417: Hair not instantly updating when editing curve guide

Reviewers: sergey, brecht

Maniphest Tasks: T60417

Differential Revision:

2 years agoFix T58438: wrong display of brush angle rotation preview.
Pablo Dobarro [Wed, 23 Jan 2019 19:25:37 +0000 (20:25 +0100)]
Fix T58438: wrong display of brush angle rotation preview.

Differential Revision:

2 years agoSculpt: add Topology Rake, to align edges along brush while painting.
Jean Da Costa [Wed, 23 Jan 2019 17:38:40 +0000 (18:38 +0100)]
Sculpt: add Topology Rake, to align edges along brush while painting.

This helps to generate cleaner topology and define sharp features for dynamic
topology. Best used on relatively low-poly meshes, it is not needed as much
for high detail areas and has a performance impact.

Differential Revision:

2 years agoFix wrong f-curve modifier mute checkbox icon / tooltip.
Anton Stötzer [Wed, 23 Jan 2019 17:23:01 +0000 (18:23 +0100)]
Fix wrong f-curve modifier mute checkbox icon / tooltip.

Differential Revision:

2 years agoFix T54834: VSE can't import OGG Theora video
Sergey Sharybin [Wed, 23 Jan 2019 16:15:56 +0000 (17:15 +0100)]
Fix T54834: VSE can't import OGG Theora video

2 years agoCleanup: More clear function name
Sergey Sharybin [Wed, 23 Jan 2019 15:58:37 +0000 (16:58 +0100)]
Cleanup: More clear function name

Otherwise it was read as it does select sequences rather
than counts them.

2 years agoSequencer: Fix python error on Add menu on default workspace
Sergey Sharybin [Wed, 23 Jan 2019 15:56:23 +0000 (16:56 +0100)]
Sequencer: Fix python error on Add menu on default workspace

It is possible that context does have selected_sequences but
it will be set to None. In this case getattr() will return
None, breaking the intended logic.

2 years agoUI: Particles UIList
Pablo Vazquez [Wed, 23 Jan 2019 16:05:12 +0000 (17:05 +0100)]
UI: Particles UIList

Swap show_render and show_viewport to match outliner (first viewport then render)

Also make list item into an aligned row so it uses less space and looks closer to the outliner.


2 years agoGP: Remove unneeded armature code
Antonioya [Wed, 23 Jan 2019 15:52:07 +0000 (16:52 +0100)]
GP: Remove unneeded armature code

This line looks a mistake and it's not needed.

2 years agoFix T59152: dynamic topology constant detail should be in world space.
Brecht Van Lommel [Wed, 23 Jan 2019 15:48:02 +0000 (16:48 +0100)]
Fix T59152: dynamic topology constant detail should be in world space.

It seems more predictable, and makes more sense for future multi-object modes.

2 years agoUI: fix horizontal scrollbar overlapping last row of files
gsr b3d [Wed, 23 Jan 2019 14:31:47 +0000 (15:31 +0100)]
UI: fix horizontal scrollbar overlapping last row of files

Depending on area size, the scrollbar covered the bottom of the text,
with the extra it will only cover the padding at worst.

Differential Revision:

2 years agoUI: make editor corner splitting / joining more reliable.
Harley Acheson [Wed, 23 Jan 2019 13:44:40 +0000 (14:44 +0100)]
UI: make editor corner splitting / joining more reliable.

* Add threshold for minimum amount of mouse movement for dragging to
  get activated.
* Limit angles at which dragging is considered an action, do nothing if
  mouse does not clearly move up/down/left/right.
* Increase action zone size vertically.

Differential Revision:

2 years agoFix T60791: Don't show automatic weights option when not supported
Jacques Lucke [Wed, 23 Jan 2019 14:20:35 +0000 (15:20 +0100)]
Fix T60791: Don't show automatic weights option when not supported

There are probably many more cases in which the menu looks a little different.
However, I don't know them all and it's too easy to break something accidentally here.
Maybe a user could try the different combinations of object types and check if there are entries that should not be there.

Reviewers: brecht

Differential Revision:

2 years agoFix T59939: Masks not Animating in Render
Philipp Oeser [Sat, 29 Dec 2018 16:15:28 +0000 (17:15 +0100)]
Fix T59939: Masks not Animating in Render

For now this is not part of copy-on-write, and needs extra animation

Reviewers: sergey, brecht

Maniphest Tasks: T59939

Differential Revision:

2 years agoCleanup: comments above struct members, shader group assignments
Campbell Barton [Wed, 23 Jan 2019 12:59:40 +0000 (23:59 +1100)]
Cleanup: comments above struct members, shader group assignments

Avoid using pointer to pointer when building shader groups.

2 years ago3D View: draw clipping region
Campbell Barton [Wed, 23 Jan 2019 12:30:30 +0000 (23:30 +1100)]
3D View: draw clipping region

Only for workbench solid/wire modes.

2 years agoFix T56877: Enabling mask Motion Blur overrides the Feather Falloff
Sergey Sharybin [Wed, 23 Jan 2019 12:04:32 +0000 (13:04 +0100)]
Fix T56877: Enabling mask Motion Blur overrides the Feather Falloff

Compositor makes a copy of mask before sampling the mask on different
time steps. The copy of layers did not copy falloff Settings.

2 years agoFix T58994: Subdivision modifier generates artifacts with crease=1
Sergey Sharybin [Wed, 23 Jan 2019 11:14:34 +0000 (12:14 +0100)]
Fix T58994: Subdivision modifier generates artifacts with crease=1

The issue was caused by the lack of averaging of normals for
vertices which are on the ptex face boundaries.

2 years agoMerge branch 'blender2.7'
Brecht Van Lommel [Wed, 23 Jan 2019 11:09:08 +0000 (12:09 +0100)]
Merge branch 'blender2.7'

2 years agoAdd font selection to VSE text strips
Richard Antalik [Mon, 14 Jan 2019 05:28:07 +0000 (21:28 -0800)]
Add font selection to VSE text strips

Allows users to select a font for text strips in the video sequence editor.

Related: 3610f1fc43d0 Sequencer: refactor clipboard copy to no longer increase user count.

Reviewed by: Brecht

Differential Revision:

2 years agoSequencer: refactor clipboard copy to no longer increase user count.
Brecht Van Lommel [Fri, 28 Dec 2018 12:37:51 +0000 (13:37 +0100)]
Sequencer: refactor clipboard copy to no longer increase user count.

The clipboard is not a real user and should not be counted. Only on paste
should the user count increase.

This is part of D3621, and was implemented by Richard Antalik and me.

2 years agoRefactor: use guard clauses instead of nested conditionals
Jacques Lucke [Wed, 23 Jan 2019 09:44:52 +0000 (10:44 +0100)]
Refactor: use guard clauses instead of nested conditionals

2 years ago3D View: add back clipping draw code (disabled)
Campbell Barton [Wed, 23 Jan 2019 09:44:08 +0000 (20:44 +1100)]
3D View: add back clipping draw code (disabled)

Disabled for now because of draw-order issues.

Also move clipping test out of view3d_draw_legacy.c

2 years agoFix T60778: Grease pencil Hook modifieronly affects strokes with more than 2 points
Antonioya [Wed, 23 Jan 2019 09:36:52 +0000 (10:36 +0100)]
Fix T60778: Grease pencil Hook modifieronly affects strokes with more than 2 points

Also fixed Lattice and Noise modifier.

2 years agoCleanup: Spelling in comment
Sergey Sharybin [Wed, 23 Jan 2019 09:27:55 +0000 (10:27 +0100)]
Cleanup: Spelling in comment

2 years agoFix T60781: DOF Distance (pick) crashes
Campbell Barton [Wed, 23 Jan 2019 05:41:40 +0000 (16:41 +1100)]
Fix T60781: DOF Distance (pick) crashes

From own recent changes c8e75c2b00cfb7e8

2 years agoRNA: expose Gizmo.use_operator_tool_properties
Campbell Barton [Wed, 23 Jan 2019 05:30:19 +0000 (16:30 +1100)]
RNA: expose Gizmo.use_operator_tool_properties

2 years agoCleanup: use doxy comments for gizmo structs
Campbell Barton [Wed, 23 Jan 2019 05:24:37 +0000 (16:24 +1100)]
Cleanup: use doxy comments for gizmo structs

Also move comments before members (better for clang-format).

2 years agoFix T58199: Spin tool top bar settings don't apply
Campbell Barton [Wed, 23 Jan 2019 05:15:01 +0000 (16:15 +1100)]
Fix T58199: Spin tool top bar settings don't apply

2 years agoGizmo: add support for gizmos to initialize from the active tool
Campbell Barton [Wed, 23 Jan 2019 05:14:52 +0000 (16:14 +1100)]
Gizmo: add support for gizmos to initialize from the active tool

2 years agoWM: add tool property getter function
Campbell Barton [Wed, 23 Jan 2019 04:36:10 +0000 (15:36 +1100)]
WM: add tool property getter function

Matches 'ensure' functions but doesn't add data.

2 years agoCleanup: use eGPU prefix for GPU enum types
Campbell Barton [Wed, 23 Jan 2019 03:15:43 +0000 (14:15 +1100)]
Cleanup: use eGPU prefix for GPU enum types

2 years agoDRW: generalize selecting between regular/clipped shaders
Campbell Barton [Wed, 23 Jan 2019 02:21:49 +0000 (13:21 +1100)]
DRW: generalize selecting between regular/clipped shaders

Each engine was doing this on its own.
Move to DRWContextState, use an enum.

2 years agoDRW: changes to object mode engine needed to support clipping
Campbell Barton [Wed, 23 Jan 2019 01:37:12 +0000 (12:37 +1100)]
DRW: changes to object mode engine needed to support clipping

Split out shader struct, no function changes.

2 years agoCleanup: add BEGIN/END to GPL headers
Campbell Barton [Wed, 23 Jan 2019 00:29:18 +0000 (11:29 +1100)]
Cleanup: add BEGIN/END to GPL headers

2 years agoLicense: add missing GPL headers
Campbell Barton [Wed, 23 Jan 2019 00:28:59 +0000 (11:28 +1100)]
License: add missing GPL headers

Information taken from related files committed at the time.

2 years agoEEVEE UI: Render/Viewport Samples - follow Cycles
Dalai Felinto [Tue, 22 Jan 2019 21:43:54 +0000 (19:43 -0200)]
EEVEE UI: Render/Viewport Samples - follow Cycles

Cycles shows first the render, and then the viewport settings.
One could argue that EEVEE's main setting is the viewport one.

But that is silly. If we need an extra setting for the lookdev mode so be it.
But EEVEE should be treated as an engine just as Cycles.

Also, removed the " Samples" bit from their labels since they are under
the Sampling panel.

2 years agoDRW: only show hidden geometry when selection is used
Campbell Barton [Tue, 22 Jan 2019 21:46:26 +0000 (08:46 +1100)]
DRW: only show hidden geometry when selection is used

Matches 2.7x behavior.

2 years agoRevert "Fix T60126: Gradient affects hidden vertices when weight painting"
Campbell Barton [Tue, 22 Jan 2019 21:24:54 +0000 (08:24 +1100)]
Revert "Fix T60126: Gradient affects hidden vertices when weight painting"

This reverts commit 06a6b5dba459d4153d85c5894e3c3e72abeb34e3.

The error is that geometry was hidden in the first place,
this should only apply when selecting verts/faces.

2 years agoFix T58492: smoke flow jitters around flow source when using adaptive domain.
Bastien Montagne [Tue, 22 Jan 2019 20:49:38 +0000 (21:49 +0100)]
Fix T58492: smoke flow jitters around flow source when using adaptive domain.

This is more like a band-aid than a real fix actually, real fix would be
to understand why rendering smoke requires auto texspace to be ON
(afaict, this was not the case in 2.7x)...

But I've already spent way too much time on this issue, at least now we
get better situation than before (i.e. smoke with adaptive domain works
well even when orig domain mesh has autospace flag disabled).

2 years agoMesh eval: Do not condition clearing of auto texspace to dirty bbox.
Bastien Montagne [Tue, 22 Jan 2019 20:47:50 +0000 (21:47 +0100)]
Mesh eval: Do not condition clearing of auto texspace to dirty bbox.

Not sure why that was that way (can't remember any good reason at least,
so assuming this is a dummy mistake from own rB33cbcd73448f), this
should be done in any case.

2 years agoUI: disable scene and view layer delete buttons when not available.
Harley Acheson [Tue, 22 Jan 2019 19:34:06 +0000 (20:34 +0100)]
UI: disable scene and view layer delete buttons when not available.

Differential Revision:

2 years agoFix T60602: outliner pose bone selection does not update in viewport.
Sebastian Parborg [Tue, 22 Jan 2019 19:24:33 +0000 (20:24 +0100)]
Fix T60602: outliner pose bone selection does not update in viewport.

Differential Revision:

2 years agoGP: Fix UV error for second point
Antonioya [Tue, 22 Jan 2019 19:13:56 +0000 (20:13 +0100)]
GP: Fix UV error for second point

The UV was not calculated for second point (1), only first and > 1

2 years agoDefaults: don't use Filmic view transform in Video Editing template.
Brecht Van Lommel [Tue, 22 Jan 2019 18:59:27 +0000 (19:59 +0100)]
Defaults: don't use Filmic view transform in Video Editing template.

It's too slow for now, could be considered if it's optimized more.

2 years agoFix T60722: decimate modifier not working in some cases.
Philipp Oeser [Tue, 22 Jan 2019 18:49:44 +0000 (19:49 +0100)]
Fix T60722: decimate modifier not working in some cases.

2 years agoGP: Recalc UV data for primitive strokes
Antonioya [Tue, 22 Jan 2019 16:54:19 +0000 (17:54 +0100)]
GP: Recalc UV data for primitive strokes

The data was not caculated when complete a primitive and it was only updated when use Edit mode.

2 years agoUI: use same light icon for all light types in properties editor tabs.
Joep Peters [Tue, 22 Jan 2019 14:35:51 +0000 (15:35 +0100)]
UI: use same light icon for all light types in properties editor tabs.

Differential Revision:

2 years agoUV Editor: support snapping to center of pixels, in addition to corners.
Joep Peters [Tue, 22 Jan 2019 14:38:56 +0000 (15:38 +0100)]
UV Editor: support snapping to center of pixels, in addition to corners.

Differential Revision:

2 years agoFix light probe panels not being visible for Cycles.
Brecht Van Lommel [Tue, 22 Jan 2019 14:31:14 +0000 (15:31 +0100)]
Fix light probe panels not being visible for Cycles.

2 years agoFix T60748: Move GP stroke extremes with noise modifier
Antonioya [Tue, 22 Jan 2019 15:48:45 +0000 (16:48 +0100)]
Fix T60748: Move GP stroke extremes with noise modifier