blender.git
3 hours agoCleanup: redundant use of string formatting functions master
Campbell Barton [Sun, 24 Mar 2019 05:09:46 +0000 (16:09 +1100)]
Cleanup: redundant use of string formatting functions

8 hours agoCleanup: redundant NULL initialization
Campbell Barton [Sun, 24 Mar 2019 00:06:18 +0000 (11:06 +1100)]
Cleanup: redundant NULL initialization

8 hours agoCleanup: use shader config for worldspace clipping lib
Campbell Barton [Sun, 24 Mar 2019 00:01:28 +0000 (11:01 +1100)]
Cleanup: use shader config for worldspace clipping lib

8 hours agoUI: support Ctrl-C copy for popover buttons
Campbell Barton [Sat, 23 Mar 2019 23:50:01 +0000 (10:50 +1100)]
UI: support Ctrl-C copy for popover buttons

Match menu logic that sets the Python expression to call the popover.

9 hours agoGPU: State: Replace GL_LINE_SMOOTH by GPU_line_smooth
Clément Foucault [Sat, 23 Mar 2019 22:54:01 +0000 (23:54 +0100)]
GPU: State: Replace GL_LINE_SMOOTH by GPU_line_smooth

10 hours agoGPU: State: Disable polygon smooth and line smooth when running --debug-gpu
Clément Foucault [Sat, 23 Mar 2019 22:47:12 +0000 (23:47 +0100)]
GPU: State: Disable polygon smooth and line smooth when running --debug-gpu

This might prove usefull when debugging some driver perf issues.

10 hours agoGPU: Replace glEnable/glDisable but GPU_state calls
Clément Foucault [Sat, 23 Mar 2019 22:43:26 +0000 (23:43 +0100)]
GPU: Replace glEnable/glDisable but GPU_state calls

10 hours agoGPU: Remove unused and deprecated GPU_line_stipple()
Clément Foucault [Sat, 23 Mar 2019 22:42:30 +0000 (23:42 +0100)]
GPU: Remove unused and deprecated GPU_line_stipple()

11 hours agoFix T62884 Missing control point in unselected mask handles
Clément Foucault [Sat, 23 Mar 2019 21:46:15 +0000 (22:46 +0100)]
Fix T62884 Missing control point in unselected mask handles

The fix is a bit dirty. Force alpha 1.0 for these colors by using
immUniformThemeColorShadeAlpha with 255 as alpha_offset.

11 hours agoFix T62869 Transparent background not working in Xray Mode / Wireframe
Clément Foucault [Sat, 23 Mar 2019 21:13:57 +0000 (22:13 +0100)]
Fix T62869 Transparent background not working in Xray Mode / Wireframe

This was due to the forward part of the engine not supporting rendered
alpha channel.

14 hours agoFix T62873 GPUShader: compile error (when clipping in viewport)
Clément Foucault [Sat, 23 Mar 2019 18:31:20 +0000 (19:31 +0100)]
Fix T62873 GPUShader: compile error (when clipping in viewport)

Props to @matc for the fix

14 hours agoFix T62097 Bone transparancy not enabled when Xray enabled
Clément Foucault [Sat, 23 Mar 2019 18:28:13 +0000 (19:28 +0100)]
Fix T62097 Bone transparancy not enabled when Xray enabled

This forces bone transparency / wireframe display when Xray is enabled.
This makes sense as the bone transparency is a kind of Xray and should
be linked to the Xray display.

14 hours agoEevee: Opti: Don't consider lights that have no power
Clément Foucault [Sat, 23 Mar 2019 18:18:51 +0000 (19:18 +0100)]
Eevee: Opti: Don't consider lights that have no power

This may be usefull if power is animated ans is to be activated at one
particular point in time.

14 hours agoCleanup: Remove printf
Clément Foucault [Sat, 23 Mar 2019 18:16:55 +0000 (19:16 +0100)]
Cleanup: Remove printf

14 hours agoFix T62845 VSE preview crash when setting rendered (EEVEE/Workbench)
Clément Foucault [Sat, 23 Mar 2019 18:09:25 +0000 (19:09 +0100)]
Fix T62845 VSE preview crash when setting rendered (EEVEE/Workbench)

15 hours agoEdit Mesh: Rework "in front" + "hidden wire" drawing
Clément Foucault [Sat, 23 Mar 2019 17:46:29 +0000 (18:46 +0100)]
Edit Mesh: Rework "in front" + "hidden wire" drawing

Instead of doing some fancy stencil buffer tricks, just clear the depth
buffer before the "in front" meshes.

Fix T58841 Hidden Wire when in Edit Mode disables In Front Option

29 hours agoFix workbench object outline ignoring clipping
Campbell Barton [Sat, 23 Mar 2019 03:25:29 +0000 (14:25 +1100)]
Fix workbench object outline ignoring clipping

Workbench forward engine wasn't recompiling shaders when clipping
changed, use GPUShaderConfigData when creating shaders.

29 hours agoCleanp: remove redundant clipping uniform
Campbell Barton [Sat, 23 Mar 2019 02:30:02 +0000 (13:30 +1100)]
Cleanp: remove redundant clipping uniform

workbench_material_shgroup_uniform handles this.

31 hours agoUI: show camera sensor 'Width' as 'Size' for 'Auto' fit
Campbell Barton [Sat, 23 Mar 2019 01:29:49 +0000 (12:29 +1100)]
UI: show camera sensor 'Width' as 'Size' for 'Auto' fit

31 hours agoFix auto sensor size for camera gizmo
Campbell Barton [Sat, 23 Mar 2019 01:29:03 +0000 (12:29 +1100)]
Fix auto sensor size for camera gizmo

31 hours agoCleanup: style, use const args where possible
Campbell Barton [Sat, 23 Mar 2019 01:16:38 +0000 (12:16 +1100)]
Cleanup: style, use const args where possible

31 hours agoCleanup: add doxy sections to interface_ops.c
Campbell Barton [Sat, 23 Mar 2019 01:07:05 +0000 (12:07 +1100)]
Cleanup: add doxy sections to interface_ops.c

31 hours agoCleanup: doxy sections & function name
Campbell Barton [Sat, 23 Mar 2019 00:55:36 +0000 (11:55 +1100)]
Cleanup: doxy sections & function name

35 hours agoFix T62815: Camera frame shift issue + stereo frame working
Dalai Felinto [Fri, 22 Mar 2019 21:38:54 +0000 (18:38 -0300)]
Fix T62815: Camera frame shift issue + stereo frame working

While I broke the non-stereo camera frame in rBf1fef41863b I came to
realize after further tests that the stereo camera frame was NEVER
correct.

It is now, regardless of the camera shift, the camera pivot, if you are
looking through the left, right or stereo eyes.

In the end all that was missing was to multiply the shift we needed to
offset the frame, by the frame width.

I also took the opportunity to perform some cleanup/refactor regarding
names. It was too confusing even for me.

Note: Non-uniformally scaled cameras still draw slightly wrong.

36 hours agoViewport Refactor: Move camera tracking reconstruction in own function
Dalai Felinto [Fri, 22 Mar 2019 20:30:12 +0000 (17:30 -0300)]
Viewport Refactor: Move camera tracking reconstruction in own function

I'm going through my own messy stereo code, and came to realized that
this should be out in its own function a long time ago (as we have in 2.7x).

37 hours agoCleanup: fix compiler warning.
Brecht Van Lommel [Fri, 22 Mar 2019 19:30:24 +0000 (20:30 +0100)]
Cleanup: fix compiler warning.

37 hours agoFix COLLADA build after recent changes.
Brecht Van Lommel [Fri, 22 Mar 2019 19:29:44 +0000 (20:29 +0100)]
Fix COLLADA build after recent changes.

37 hours agoSilence false positive uninitialized warning
Dalai Felinto [Fri, 22 Mar 2019 19:28:17 +0000 (16:28 -0300)]
Silence false positive uninitialized warning

Techically we would never get to the part where we would use the
uninitialized value due to an assert.

37 hours agoMerge branch 'blender2.7'
mano-wii [Fri, 22 Mar 2019 19:23:23 +0000 (16:23 -0300)]
Merge branch 'blender2.7'

 Conflicts:
CMakeLists.txt

37 hours agoMSVC: add C4115 and C4189 warnings. blender2.7
mano-wii [Fri, 22 Mar 2019 19:15:46 +0000 (16:15 -0300)]
MSVC: add C4115 and C4189 warnings.

This matches the warnings of the other compilers commonly used in Blender.

37 hours agoFix warning for uninitialized icon_only
Dalai Felinto [Fri, 22 Mar 2019 19:01:25 +0000 (16:01 -0300)]
Fix warning for uninitialized icon_only

Warning/issue introduced on rBcaa357dae70322e.

37 hours agoFix: VSE preview not showing stereo drawing (unreported)
Dalai Felinto [Fri, 22 Mar 2019 18:08:22 +0000 (15:08 -0300)]
Fix: VSE preview not showing stereo drawing (unreported)

SpaceSeq main stereo drawing is for ar->regiontype RGN_TYPE_PREVIEW, but
the drawing code was assuming RGN_TYPE_WINDOW was the only one to be
considered for all the regions.

SpaceSeq still needs stereo drawing in RGN_TYPE_WINDOW but only when
backdrop is enabled.

Bug introduced on rBe01cadd657c76267.

38 hours agoFix T60969 Eevee: Volumetrics broken with dupli objects
Clément Foucault [Fri, 22 Mar 2019 18:39:56 +0000 (19:39 +0100)]
Fix T60969 Eevee: Volumetrics broken with dupli objects

The volumeObjectMatrix uniform was referencing memory from the temp dupli
object. Create temp storage to store the matrix.

38 hours agoGPU: Cleanup: Code Style
Clément Foucault [Fri, 22 Mar 2019 18:38:03 +0000 (19:38 +0100)]
GPU: Cleanup: Code Style

38 hours agoFix T57617 Volumetrics doesn't work on the Orthographic Camera
Clément Foucault [Fri, 22 Mar 2019 17:06:24 +0000 (18:06 +0100)]
Fix T57617 Volumetrics doesn't work on the Orthographic Camera

common_data.view_vecs were not updated before use.

38 hours agoFix T58392 Texture limit size not working
Clément Foucault [Fri, 22 Mar 2019 14:38:41 +0000 (15:38 +0100)]
Fix T58392 Texture limit size not working

It was removed by inadvertence.

38 hours agoFix T59962, T60130: error adding image sequence with node wrangler.
Brecht Van Lommel [Fri, 22 Mar 2019 17:59:40 +0000 (18:59 +0100)]
Fix T59962, T60130: error adding image sequence with node wrangler.

The region should be restored correctly, there is already a similar test for
areas to be preserved.

39 hours agoMerge branch 'blender2.7'
Brecht Van Lommel [Fri, 22 Mar 2019 17:18:37 +0000 (18:18 +0100)]
Merge branch 'blender2.7'

39 hours agoRevert "Cleanup: remove legacy mesh save support"
Brecht Van Lommel [Fri, 22 Mar 2019 17:16:46 +0000 (18:16 +0100)]
Revert "Cleanup: remove legacy mesh save support"

Fixes T62793. Leave this in the blender2.7 branch for those that still rely
on it, but it will remain removed in master.

39 hours agoModifiers: add minimum number of vertices to triangulate modifier.
Ish Bosamiya [Fri, 22 Mar 2019 16:55:51 +0000 (17:55 +0100)]
Modifiers: add minimum number of vertices to triangulate modifier.

This lets you only triangulate n-gons when setting the number to 5 or more.

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

40 hours agoFix T62844: Cycles crash with bevel and degenerate geometry.
Brecht Van Lommel [Fri, 22 Mar 2019 16:01:33 +0000 (17:01 +0100)]
Fix T62844: Cycles crash with bevel and degenerate geometry.

40 hours agoUI: move stereo panel above output.
Brecht Van Lommel [Fri, 22 Mar 2019 15:01:15 +0000 (16:01 +0100)]
UI: move stereo panel above output.

Otherwise clicking the stereo panel moves it.

40 hours agoFix T58517: Multi-view issues with OpenGL render + scene settings
Dalai Felinto [Fri, 22 Mar 2019 16:15:05 +0000 (13:15 -0300)]
Fix T58517: Multi-view issues with OpenGL render + scene settings

Patch by Shinsuke Irie.

* * *

Note from reviewer/committer (dfelinto):

OpenGL render from the VSE preview window is working, while the VSE
preview window itself does not show stereo.

That said the patch is ok, and I was able to test that the VSE preview
OpenGL still works. I will tackle VSE preview itself separately myself.

40 hours agoSilence warnings
Dalai Felinto [Fri, 22 Mar 2019 16:20:45 +0000 (13:20 -0300)]
Silence warnings

40 hours agoFix overlay being ignored in functions that read the depth buffer.
mano-wii [Fri, 22 Mar 2019 16:04:23 +0000 (13:04 -0300)]
Fix overlay being ignored in functions that read the depth buffer.

This corresponds to the behavior of blender 2.79.

40 hours agoDRW Manager: create and use new DRW_framebuffer_depth_read utility.
mano-wii [Fri, 22 Mar 2019 15:53:50 +0000 (12:53 -0300)]
DRW Manager: create and use new DRW_framebuffer_depth_read utility.

40 hours agoGPU: Create and use new GPU_texture_read_rect utility.
mano-wii [Fri, 22 Mar 2019 15:52:38 +0000 (12:52 -0300)]
GPU: Create and use new GPU_texture_read_rect utility.

40 hours agoNodeEditor: Connect Viewer To Socket Selection
Jeroen Bakker [Fri, 22 Mar 2019 16:03:02 +0000 (17:03 +0100)]
NodeEditor: Connect Viewer To Socket Selection

Request from the Spring team. When compositing the CTRL-Shift Click on a
node cycles the viewnode with an output socket. When you have many
render layers you spend time cycling to the desired socket. This patch
allows the user to CTRL-Shift Click on a socket to connect directly to
that socket.

Reviewed By: brecht

Maniphest Tasks: T62785

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

41 hours agoUI: Rename editor "Compositing" to "Compositor"
Adrian Newton [Fri, 22 Mar 2019 15:45:30 +0000 (16:45 +0100)]
UI: Rename editor "Compositing" to "Compositor"

Reviewers: brecht, billreynish

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

41 hours agoFix T62348: Cycles - Viewport rendering not update on switching viewlayer
Dalai Felinto [Fri, 22 Mar 2019 15:45:42 +0000 (12:45 -0300)]
Fix T62348: Cycles - Viewport rendering not update on switching viewlayer

It updates only the main window you edit and the non-main window
children of this main one.

Reviewers: sergey, brecht

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

41 hours agoDRW: minor optimization accessing the loop between a face and edge
Campbell Barton [Fri, 22 Mar 2019 15:44:22 +0000 (02:44 +1100)]
DRW: minor optimization accessing the loop between a face and edge

41 hours agoFix T62841: Hidden collection shortcut should be work in edit mode
Dalai Felinto [Fri, 22 Mar 2019 14:58:44 +0000 (11:58 -0300)]
Fix T62841: Hidden collection shortcut should be work in edit mode

This is a full revert of b6c61945aed51d86dc474df616761f9a25d71d09.

But ammended to include the object.hide_collection() operator to the
pose keymap as well.

While trying to expose the shortcuts to pose mode, I ended up exposing
them for all the modes. It is now only available for object and mode
modes.

42 hours agoFix T61816: Crash No Face Index Array Modifier
Jeroen Bakker [Fri, 22 Mar 2019 14:18:07 +0000 (15:18 +0100)]
Fix T61816: Crash No Face Index Array Modifier

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

42 hours agoCamera: change how the minimum near clip depth is set
Campbell Barton [Fri, 22 Mar 2019 14:13:04 +0000 (01:13 +1100)]
Camera: change how the minimum near clip depth is set

do_clip wasn't working for its intended purpose,
replace with a simpler method.

42 hours agoRNA: Camera.view_frame no longer uses near clip for the camera frame
Campbell Barton [Fri, 22 Mar 2019 14:12:43 +0000 (01:12 +1100)]
RNA: Camera.view_frame no longer uses near clip for the camera frame

Use the same values used for drawing.

43 hours agoStyle: describe code using comments instead of preprocessing directives.
mano-wii [Fri, 22 Mar 2019 13:32:57 +0000 (10:32 -0300)]
Style: describe code using comments instead of preprocessing directives.

43 hours agoFix T62839 object scale changes normal map output in eevee
Clément Foucault [Fri, 22 Mar 2019 13:30:37 +0000 (14:30 +0100)]
Fix T62839 object scale changes normal map output in eevee

Was using the wrong vector length.

43 hours agoFix/workaround some types of black dots in denoising with bright speculars.
Brecht Van Lommel [Fri, 22 Mar 2019 13:05:18 +0000 (14:05 +0100)]
Fix/workaround some types of black dots in denoising with bright speculars.

This is not a real solution and colored dots still remain, just rejecting some
pixels that seem clearly wrong.

43 hours agoEEVEE: Memleak Volumetrics Rendering
Jeroen Bakker [Fri, 22 Mar 2019 13:19:54 +0000 (14:19 +0100)]
EEVEE: Memleak Volumetrics Rendering

Volumetric textures were not freed when doing final rendering.

Maniphest Tasks: T62356

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

43 hours agoCleanup: minor UI code changes
Campbell Barton [Fri, 22 Mar 2019 13:18:16 +0000 (00:18 +1100)]
Cleanup: minor UI code changes

- Rename ui_but_find_active_in_region -> ui_region_find_active_but
- Remove ui_but_is_active (use ui_region_find_active_but instead)
- Re-order ui_but_* functions take the button as their first arg.

43 hours agoFix checkboxes being right aligned when property split is disabled
Campbell Barton [Fri, 22 Mar 2019 13:02:07 +0000 (00:02 +1100)]
Fix checkboxes being right aligned when property split is disabled

43 hours agoCleanup: typo in variable name
Campbell Barton [Fri, 22 Mar 2019 13:01:00 +0000 (00:01 +1100)]
Cleanup: typo in variable name

44 hours agoUI: refactor queries into interface_query.c
Campbell Barton [Fri, 22 Mar 2019 07:51:04 +0000 (18:51 +1100)]
UI: refactor queries into interface_query.c

interface_handlers.c is quite large (over 10k lines),
move general button utility functions into a separate file.

45 hours agoFix incorrect hard limits on motion blur shutter time.
Brecht Van Lommel [Fri, 22 Mar 2019 11:09:02 +0000 (12:09 +0100)]
Fix incorrect hard limits on motion blur shutter time.

46 hours agoUI: Move Adjust Strength for Spacing next to the stroke Spacing control
William Reynish [Fri, 22 Mar 2019 10:27:56 +0000 (11:27 +0100)]
UI: Move Adjust Strength for Spacing next to the stroke Spacing control

These items are related.

46 hours agoFix T62835: Color picker template value slider does not scale correctly with UI scale
William Reynish [Fri, 22 Mar 2019 09:59:12 +0000 (10:59 +0100)]
Fix T62835: Color picker template value slider does not scale correctly with UI scale

Missing multiplication with UI_DPI_FAC.

2 days agoImplement Stencil Mask Drawing for Texture Painting
Jeroen Bakker [Thu, 21 Mar 2019 15:44:01 +0000 (16:44 +0100)]
Implement Stencil Mask Drawing for Texture Painting

Stencil mask drawing was not implemented yet. This commit will implement this for texture painting.
It brings the state back to how it was for B279.

Reviewed By: fclem

Maniphest Tasks: T58727

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

2 days agoCleanup: move widget enum into source file
Campbell Barton [Fri, 22 Mar 2019 06:56:58 +0000 (17:56 +1100)]
Cleanup: move widget enum into source file

2 days agoFix T62814: Camera frame invisible with large near-clip value
Campbell Barton [Fri, 22 Mar 2019 06:27:39 +0000 (17:27 +1100)]
Fix T62814: Camera frame invisible with large near-clip value

2 days agoUI: use checkbox text for property split layout
Campbell Barton [Fri, 22 Mar 2019 04:29:25 +0000 (15:29 +1100)]
UI: use checkbox text for property split layout

Use right aligned checkboxes when 'use_property_split' is enabled
instead of a separate label.

2 days agoUI: support for showing checkboxes after text
Campbell Barton [Fri, 22 Mar 2019 03:28:06 +0000 (14:28 +1100)]
UI: support for showing checkboxes after text

Needed so the new layouts that show right aligned checkboxes can have
clickable text (as left aligned checkboxes do already).

2 days agoUI: refactor color picker flags out of buttons
Campbell Barton [Fri, 22 Mar 2019 03:01:11 +0000 (14:01 +1100)]
UI: refactor color picker flags out of buttons

These are specialized color picker options which don't need to be
stored in the button (frees of flags for buttons too).

2 days agoDRW: show clipping border for solid mode
Campbell Barton [Fri, 22 Mar 2019 02:23:07 +0000 (13:23 +1100)]
DRW: show clipping border for solid mode

Solid + xray is still not supported.

2 days agoCleanup: use 'use' as prefix for booleans
Campbell Barton [Thu, 21 Mar 2019 14:07:24 +0000 (01:07 +1100)]
Cleanup: use 'use' as prefix for booleans

2 days agoFix T57580: Update windows installer package to have the GPL3 as EULA.
Ray Molenkamp [Fri, 22 Mar 2019 03:25:20 +0000 (21:25 -0600)]
Fix T57580: Update windows installer package to have the GPL3 as EULA.

2 days agoEevee: Add small optimisation for Curve Mapping nodes
Clément Foucault [Fri, 22 Mar 2019 02:53:13 +0000 (03:53 +0100)]
Eevee: Add small optimisation for Curve Mapping nodes

This remove the RGB texture lookups if the curve is only used for "Luma"
correction and does not affect individual RGB channels.

2 days agoUI: Fix curve extention filling on curve widgets
Clément Foucault [Fri, 22 Mar 2019 02:48:41 +0000 (03:48 +0100)]
UI: Fix curve extention filling on curve widgets

2 days agoGPU Matrix: Increase precision of GPU_matrix_unproject.
mano-wii [Fri, 22 Mar 2019 01:23:09 +0000 (22:23 -0300)]
GPU Matrix: Increase precision of GPU_matrix_unproject.

2 days agoBLI Math: Add and use new `projmat_dimensions` utility.
mano-wii [Fri, 22 Mar 2019 01:20:13 +0000 (22:20 -0300)]
BLI Math: Add and use new `projmat_dimensions` utility.

2 days agoEevee: Cleanup
Clément Foucault [Thu, 21 Mar 2019 22:53:33 +0000 (23:53 +0100)]
Eevee: Cleanup

Remove unneeded normalization.

2 days agoEevee: Fix tangent vector not normalized before interpolation.
Clément Foucault [Thu, 21 Mar 2019 22:53:24 +0000 (23:53 +0100)]
Eevee: Fix tangent vector not normalized before interpolation.

2 days agoEevee: Normalize Tangents after transform to world space
Clément Foucault [Thu, 21 Mar 2019 22:52:44 +0000 (23:52 +0100)]
Eevee: Normalize Tangents after transform to world space

Fix T62621 without breaking everything else.

2 days agoRevert "Fix T62621 object scale changes tangent node output in Eevee"
Clément Foucault [Thu, 21 Mar 2019 22:30:24 +0000 (23:30 +0100)]
Revert "Fix T62621 object scale changes tangent node output in Eevee"

This reverts commit 86646dab7c455e739e5d648d0857bf30fd81afb9.

2 days agoFix T59890: regression of the precision when projecting the cursor.
mano-wii [Thu, 21 Mar 2019 20:02:41 +0000 (17:02 -0300)]
Fix T59890: regression of the precision when projecting the cursor.

Basically the framebuffer size was different from the glViewport size.
This made the depth read in glReadPixel not corresponding to the center of the pixel.

Another thing that reduced precision compared to blender 2.79 is the `GPU_matrix_unproject` that now computes using `float`s instead of `double`s.
But this may be for another commit.

2 days agoUI: Use better flow layout
William Reynish [Thu, 21 Mar 2019 17:25:01 +0000 (18:25 +0100)]
UI: Use better flow layout

Flow layout needs columns defined to work properly

2 days agoUI: Spelling: fix wrong apostrophe
William Reynish [Thu, 21 Mar 2019 15:36:29 +0000 (16:36 +0100)]
UI: Spelling: fix wrong apostrophe

2 days agoUI: Fix wrong spelling
William Reynish [Thu, 21 Mar 2019 15:31:46 +0000 (16:31 +0100)]
UI: Fix wrong spelling

Effect vs Affect

2 days agoUI: make UI label clearer for Affect Rotation
William Reynish [Thu, 21 Mar 2019 15:30:55 +0000 (16:30 +0100)]
UI: make UI label clearer for Affect Rotation

2 days agoUI: align header to the left
William Reynish [Thu, 21 Mar 2019 15:30:09 +0000 (16:30 +0100)]
UI: align header to the left

Since it's a header, this makes the hierarchy clearer

2 days agoFix flow layout for camera data Viewport Display panel.
Bastien Montagne [Thu, 21 Mar 2019 15:24:02 +0000 (16:24 +0100)]
Fix flow layout for camera data Viewport Display panel.

Flow layout needs sub-layouts to properly identify 'cells' of its grid.

2 days agoUse 'show_' prefix convention for composition guides
William Reynish [Thu, 21 Mar 2019 15:05:32 +0000 (16:05 +0100)]
Use 'show_' prefix convention for composition guides

2 days agoUI: Correct tooltips for composition guides
William Reynish [Thu, 21 Mar 2019 14:09:11 +0000 (15:09 +0100)]
UI: Correct tooltips for composition guides

2 days agoUI: Put camera composition guides in standard sub-panel
William Reynish [Thu, 21 Mar 2019 14:01:07 +0000 (15:01 +0100)]
UI: Put camera composition guides in standard sub-panel

Before we were using a very inconsistent toggle-menu for this. Just use standard UI here instead.

2 days agoUI: replace button open event with activate on init
Campbell Barton [Thu, 21 Mar 2019 13:54:07 +0000 (00:54 +1100)]
UI: replace button open event with activate on init

No user visible change.

2 days agoFix T62768: Softbody cache still not updated correctly
Sergey Sharybin [Thu, 21 Mar 2019 13:38:35 +0000 (14:38 +0100)]
Fix T62768: Softbody cache still not updated correctly

There was missing flush from transform update to the point cache
reset. Caused by the fact that when update happens in the "middle"
of component all the component operations will be tagged for update
(since the intermediate state is not stored), but that will not
flush updates to other operations since that would cause too much
of updates.

This now we tag point cache for reset after evaluation operation
but before final transform and before rigid body world.

2 days agoFix T62810: AA reversed in workbench
Jeroen Bakker [Thu, 21 Mar 2019 13:35:28 +0000 (14:35 +0100)]
Fix T62810: AA reversed in workbench

Due to recent changes the AA was not rendered in the viewport when not
interacting. When interacting it was. This was due to incorrect
detemination to perform TAA.

2 days agoWM: enable activate on init for wmOperatorType.prop
Campbell Barton [Thu, 21 Mar 2019 13:30:17 +0000 (00:30 +1100)]
WM: enable activate on init for wmOperatorType.prop

This enables popups to edit text when displayed,
use for new collection popup.

2 days agoInstall_deps: add clang-format packages.
Bastien Montagne [Thu, 21 Mar 2019 13:10:47 +0000 (14:10 +0100)]
Install_deps: add clang-format packages.

Even though that one is not really useful just to build Blender, we can
as well explicitely include it here, since all 'default' Blender builds
will include full clang/llvm stack anyway (for Cycles and deps)...

2 days agoDocs: update examples for 2.8x
Campbell Barton [Thu, 21 Mar 2019 13:07:06 +0000 (00:07 +1100)]
Docs: update examples for 2.8x

Use fields for properties

2 days agoKeymap: Use F4 for file context menu
Campbell Barton [Thu, 21 Mar 2019 11:58:42 +0000 (22:58 +1100)]
Keymap: Use F4 for file context menu

- Replace Window context menu with File menu.

  This was recently removed however artists in the studio use
  link/append often.

- Add preferences to this menu so `F4, PKey` can still be used as a
  quick way to access preferences.