blender.git
3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 28 Jun 2018 08:50:04 +0000 (10:50 +0200)]
Merge branch 'master' into blender2.8

3 years agoCMake: enable WITH_ASSERT_ABORT by default
Campbell Barton [Thu, 28 Jun 2018 08:48:06 +0000 (10:48 +0200)]
CMake: enable WITH_ASSERT_ABORT by default

Assert from BLI_assert by default in debug builds
(instead of just printing a warning).

Some developers ignored this, causing errors for others.
Better debug builds cause hard error so code isn't ignored.

Disabling is still useful when bisecting or testing outdated code.

3 years agoUI: use two dot ellipses
Campbell Barton [Thu, 28 Jun 2018 08:45:39 +0000 (10:45 +0200)]
UI: use two dot ellipses

Use less space for sign used when we don't have enough.

3 years agoTools: disable fallback drag action for transform
Campbell Barton [Thu, 28 Jun 2018 08:34:41 +0000 (10:34 +0200)]
Tools: disable fallback drag action for transform

Based on animator feedback, accidentally not clicking on the manipulator
handle had unpredictable behavior.

This functionality will be moved into the manipulator and made optional
(add an invisible fallback manipulator).

3 years agoWorkbench: Fix Texture drawing
Jeroen Bakker [Thu, 28 Jun 2018 07:19:00 +0000 (09:19 +0200)]
Workbench: Fix Texture drawing

textures were not always drawn as the material did not always include
the image in the hash. Not sure if this will solve all cases, but it
definitely works better with this change.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 28 Jun 2018 06:50:11 +0000 (08:50 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix missing blend mode in recent OpenGL refactor
Campbell Barton [Thu, 28 Jun 2018 06:49:30 +0000 (08:49 +0200)]
Fix missing blend mode in recent OpenGL refactor

3 years agoCleanup: use f-strings
Campbell Barton [Thu, 28 Jun 2018 06:30:54 +0000 (08:30 +0200)]
Cleanup: use f-strings

3 years agoCleanup: pep8
Campbell Barton [Thu, 28 Jun 2018 06:27:03 +0000 (08:27 +0200)]
Cleanup: pep8

3 years agogl cleanup: fix wrong cast in bf_editor_transform
Ray Molenkamp [Thu, 28 Jun 2018 04:47:25 +0000 (22:47 -0600)]
gl cleanup: fix wrong cast in bf_editor_transform

3 years agoGLRefactor: partially remove gl calls from source/blender/editors.
Ray Molenkamp [Thu, 28 Jun 2018 01:07:23 +0000 (19:07 -0600)]
GLRefactor: partially remove gl calls from source/blender/editors.

This translates the gl calls to the new GPU_ wrappers from D3501.

Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis.

This fixes 13 of the 28 failing editors when building without opengl.

For the list of substitutions see D3502

Reviewers: brecht

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

3 years agoUI: Center ID Blocks in Dopesheet Editor
William Reynish [Wed, 27 Jun 2018 22:49:04 +0000 (00:49 +0200)]
UI: Center ID Blocks in Dopesheet Editor

Also move use_multi_word_filter to the View menu instead of next to every
search field, as it can be very slow in big scenes.

3 years agoUI: Center ID Blocks in Clip Editor
William Reynish [Wed, 27 Jun 2018 22:33:52 +0000 (00:33 +0200)]
UI: Center ID Blocks in Clip Editor

See T55635

3 years agoUI: Center ID Blocks in Image Editor
William Reynish [Wed, 27 Jun 2018 22:33:10 +0000 (00:33 +0200)]
UI: Center ID Blocks in Image Editor

See T55635

3 years agoUI: Center ID Blocks in Video Sequencer
William Reynish [Wed, 27 Jun 2018 22:32:02 +0000 (00:32 +0200)]
UI: Center ID Blocks in Video Sequencer

Also remove Use Preview Range and Lock Frame buttons from the header
they belong to the Timeline editor now.

See T55635

3 years agoUI: Center ID Blocks in Node Editor
William Reynish [Wed, 27 Jun 2018 22:30:22 +0000 (00:30 +0200)]
UI: Center ID Blocks in Node Editor

See T55635

3 years agoUI: Center ID Blocks in Text Editor
William Reynish [Wed, 27 Jun 2018 22:28:32 +0000 (00:28 +0200)]
UI: Center ID Blocks in Text Editor

See T55635

3 years agoUI: keep statusbar keymap icons in same position, if there is enough space.
Brecht Van Lommel [Wed, 27 Jun 2018 21:59:05 +0000 (23:59 +0200)]
UI: keep statusbar keymap icons in same position, if there is enough space.

3 years agoMerge branch 'master' into blender2.8
Brecht Van Lommel [Wed, 27 Jun 2018 22:13:52 +0000 (00:13 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix Cycles tests build on macOS.
Brecht Van Lommel [Sat, 23 Jun 2018 21:30:38 +0000 (23:30 +0200)]
Fix Cycles tests build on macOS.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 27 Jun 2018 21:01:19 +0000 (23:01 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: style
Campbell Barton [Wed, 27 Jun 2018 20:32:52 +0000 (22:32 +0200)]
Cleanup: style

3 years agoCleanup: style
Campbell Barton [Wed, 27 Jun 2018 20:29:59 +0000 (22:29 +0200)]
Cleanup: style

3 years agoUI: shorten labels to avoid clipping
William Reynish [Wed, 27 Jun 2018 20:11:29 +0000 (22:11 +0200)]
UI: shorten labels to avoid clipping

3 years agoRemove empty gradient definitions in new theme
Campbell Barton [Wed, 27 Jun 2018 18:21:23 +0000 (20:21 +0200)]
Remove empty gradient definitions in new theme

MSVC doesn't support

3 years agoRemove empty gradient definitions in new theme
Campbell Barton [Wed, 27 Jun 2018 18:21:23 +0000 (20:21 +0200)]
Remove empty gradient definitions in new theme

MSVC doesn't support

3 years agoUI: tweak status bar layout to make it less jumpy.
Brecht Van Lommel [Wed, 27 Jun 2018 17:48:54 +0000 (19:48 +0200)]
UI: tweak status bar layout to make it less jumpy.

Keymap on the left, messages and jobs in the middle, stats on the right.

3 years agoUI: some renaming for more clear/consistent cursor keymaps in status bar.
Brecht Van Lommel [Wed, 27 Jun 2018 15:07:02 +0000 (17:07 +0200)]
UI: some renaming for more clear/consistent cursor keymaps in status bar.

There's much more work to be done here, this is just fixing some obvious ones.

3 years agoFix T55644: Multires ignores render subdivision when simplified
Sergey Sharybin [Wed, 27 Jun 2018 14:34:26 +0000 (16:34 +0200)]
Fix T55644: Multires ignores render subdivision when simplified

We did not tell proper render/viewport context to subsurf derived mesh
created for multires.

3 years agoDepsgraph: Move time dependency to animation of action
Sergey Sharybin [Wed, 27 Jun 2018 14:10:37 +0000 (16:10 +0200)]
Depsgraph: Move time dependency to animation of action

This way we guarantee that animation component on the datablock will
totally wait for action to be fully evaluated before attempting to
evaluate f-curves.

Fixes T55642: Inconsistent result on animated DoF file

3 years agoDepsgraph: Add missing relation to pose init
Sergey Sharybin [Wed, 27 Jun 2018 13:27:58 +0000 (15:27 +0200)]
Depsgraph: Add missing relation to pose init

Pose init initializes inversed object matrix, which means it does
need to have proper object transform.

3 years agoDepsgraph: Fix missing relation from action to animation when it's shared
Sergey Sharybin [Wed, 27 Jun 2018 12:36:37 +0000 (14:36 +0200)]
Depsgraph: Fix missing relation from action to animation when it's shared

3 years agoUI: remove layout choosing menu from new window operator.
Brecht Van Lommel [Wed, 27 Jun 2018 10:29:22 +0000 (12:29 +0200)]
UI: remove layout choosing menu from new window operator.

The handling of multiple window layouts within a workspace is intended to
be automatic now, this was a leftover from an earlier design.

3 years agoUI: user fewer icons in File and Render menus.
Brecht Van Lommel [Wed, 27 Jun 2018 10:22:26 +0000 (12:22 +0200)]
UI: user fewer icons in File and Render menus.

Having an icon for nearly every menu entry can make it harder to scan.

3 years agoTheme: set default theme 'Flatty Dark Blueberry'
Campbell Barton [Wed, 27 Jun 2018 10:28:26 +0000 (12:28 +0200)]
Theme: set default theme 'Flatty Dark Blueberry'

The theme is now stored in generated C code,
which can be extracted from existing user preferences.

This theme can then be used for version patching themes
instead of duplicating values

Note that theme versioning has been removed,
since minor changes from now on won't apply well on top of 2.7x theme.

Theme colors from interface_widgets.c have been removed too.

3 years agoTheme: add 2.7x theme
Campbell Barton [Wed, 27 Jun 2018 13:32:34 +0000 (15:32 +0200)]
Theme: add 2.7x theme

Prepare for new default

3 years agoTheme: Tweaks to console/text in Flatty Dark Blueberry
Pablo Vazquez [Wed, 27 Jun 2018 13:04:31 +0000 (15:04 +0200)]
Theme: Tweaks to console/text in Flatty Dark Blueberry

3 years agoWorkbench: Use different samples in AO per TAA iteration
Jeroen Bakker [Wed, 27 Jun 2018 12:33:10 +0000 (14:33 +0200)]
Workbench: Use different samples in AO per TAA iteration

Per iteration a different AO samples are used, so the final result is
less distorted. Will improve the quality of the image a lot when the
cavity option is turned on.

3 years agoUI: Single-column layout for Lamp panel
William Reynish [Wed, 27 Jun 2018 12:23:17 +0000 (14:23 +0200)]
UI: Single-column layout for Lamp panel

3 years agoWorkbench: Added a quality slider for the viewport
Jeroen Bakker [Wed, 27 Jun 2018 10:55:49 +0000 (12:55 +0200)]
Workbench: Added a quality slider for the viewport

Currently only attached to the Anti Aliasing of the solid mode of the
viewport. But eventually we could add other options here. Quality
setting can be found in the System tab of the userpref.

The slider goes from No Antialiasing (0.0 - 0.1) to FXAA (0.1 - 0.25) to
TAA8 (0.25 - 0.6) to TAA16 (0.6 - 0.8) to TAA32 (0.8 - 1.0)

3 years agoTheme: Further polishing and unifying on Flatty Dark Blueberry
Pablo Vazquez [Wed, 27 Jun 2018 10:20:25 +0000 (12:20 +0200)]
Theme: Further polishing and unifying on Flatty Dark Blueberry

With feedback from @campbellbarton for better contrast in edit mode.

3 years agomesh_navmesh.c removal
Dalai Felinto [Wed, 27 Jun 2018 09:40:16 +0000 (11:40 +0200)]
mesh_navmesh.c removal

This was added back by mistake in a wrong merge
f1bc8991461fcda33eb34820bd3aa153f6122c5b.

3 years agoCleanup: remove BKE's modifiers_bmesh.c, other DM removal/cleanup in BMesh code.
Bastien Montagne [Wed, 27 Jun 2018 08:56:32 +0000 (10:56 +0200)]
Cleanup: remove BKE's modifiers_bmesh.c, other DM removal/cleanup in BMesh code.

3 years agoCleanup: nuke DM out of constraint code.
Bastien Montagne [Wed, 27 Jun 2018 08:37:33 +0000 (10:37 +0200)]
Cleanup: nuke DM out of constraint code.

3 years agoCleanup: remove some more DM usages...
Bastien Montagne [Tue, 26 Jun 2018 15:45:00 +0000 (17:45 +0200)]
Cleanup: remove some more DM usages...

3 years agoCMake: fix linking blendont
Campbell Barton [Wed, 27 Jun 2018 06:49:45 +0000 (08:49 +0200)]
CMake: fix linking blendont

3 years agobf_gpu: Add GPU_state module.
Ray Molenkamp [Tue, 26 Jun 2018 21:17:31 +0000 (15:17 -0600)]
bf_gpu: Add GPU_state module.

This has wrappers for the most common gl* functions in the codebase, and is in preparation for D3502

Reviewers: brecht, fclem

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

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 26 Jun 2018 20:56:39 +0000 (22:56 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: pep8 function indentation
Campbell Barton [Tue, 26 Jun 2018 17:41:37 +0000 (19:41 +0200)]
Cleanup: pep8 function indentation

3 years agoFix scrollbar operator showing in status bar cursor keymap.
Brecht Van Lommel [Tue, 26 Jun 2018 17:49:25 +0000 (19:49 +0200)]
Fix scrollbar operator showing in status bar cursor keymap.

3 years agoFix status bar wrong cursor keymap using wrong region in some cases.
Brecht Van Lommel [Tue, 26 Jun 2018 17:44:08 +0000 (19:44 +0200)]
Fix status bar wrong cursor keymap using wrong region in some cases.

3 years agoUI: move modal operator text from headers to status bar.
Brecht Van Lommel [Tue, 26 Jun 2018 15:19:25 +0000 (17:19 +0200)]
UI: move modal operator text from headers to status bar.

Python API is context.workspace.status_text_set()

3 years agoUI: Add/Update bad tooltips
Aaron Carlisle [Tue, 26 Jun 2018 16:29:11 +0000 (12:29 -0400)]
UI: Add/Update bad tooltips

Part of T51061

3 years agoWorkbench: Wrong ENUM value for SINGLE color
Jeroen Bakker [Tue, 26 Jun 2018 16:19:53 +0000 (18:19 +0200)]
Workbench: Wrong ENUM value for SINGLE color

Had to be "SINGLE", but was "SOLID" resulting in not showing the single
color option in the shader popover

3 years agoWorkbench: TAA quick fix for AMD cards
Jeroen Bakker [Tue, 26 Jun 2018 16:14:19 +0000 (18:14 +0200)]
Workbench: TAA quick fix for AMD cards

Seems to be that mix(a, b, 1.0) will not give you b. on nvidia this is
not a problem as a was initialized with 0.0, but on AMD it can be any
floating point number, resulting that mix(inf, b, 1.0) was still more to
inf than to b.

3 years agoMerge branch 'master' into blender2.8
Sybren A. Stüvel [Tue, 26 Jun 2018 15:42:33 +0000 (17:42 +0200)]
Merge branch 'master' into blender2.8

3 years agoRigidBody: use runtime.mesh_orig instead of DEG_get_original_object
Sybren A. Stüvel [Mon, 25 Jun 2018 14:35:23 +0000 (16:35 +0200)]
RigidBody: use runtime.mesh_orig instead of DEG_get_original_object

3 years agoFix bug in DNA_struct_elem_find when checking the first field
Sybren A. Stüvel [Tue, 26 Jun 2018 15:35:04 +0000 (17:35 +0200)]
Fix bug in DNA_struct_elem_find when checking the first field

find_elem(olddata=NULL) doesn't work reliably for existence checks; it will
return NULL both when the field is found at offset 0 and when it is not
found at all.

3 years agoFix missing object/collection hiding icons on undo.
Brecht Van Lommel [Tue, 26 Jun 2018 15:16:41 +0000 (17:16 +0200)]
Fix missing object/collection hiding icons on undo.

3 years agoUI: decrease status bar height.
Brecht Van Lommel [Tue, 26 Jun 2018 09:57:22 +0000 (11:57 +0200)]
UI: decrease status bar height.

3 years agoWorkbench: Tempural Anti Aliasing
Jeroen Bakker [Mon, 25 Jun 2018 07:06:39 +0000 (09:06 +0200)]
Workbench: Tempural Anti Aliasing

- FXAA is now also done in the workbench_forward engine.
- User can enable TAA8 in the userpref by setting their max
viewport AA to TAA8. FXAA will still be used when navigating

3 years agoFix T55628: Crash when creating new material slots
Dalai Felinto [Tue, 26 Jun 2018 10:26:10 +0000 (12:26 +0200)]
Fix T55628: Crash when creating new material slots

We need to update the geometry when resizing the object material slots.

3 years agoUI: Make Mesh shading menu consistent with the other menus
Vuk Gardašević [Tue, 26 Jun 2018 12:29:21 +0000 (14:29 +0200)]
UI: Make Mesh shading menu consistent with the other menus

3 years agoUI: Tweaks to Cycles Bake panel
William Reynish [Tue, 26 Jun 2018 12:17:02 +0000 (14:17 +0200)]
UI: Tweaks to Cycles Bake panel

-Correctly aligns bake options in the column
-Updated Metadata panel with right-aligned checkboxes for consistency

3 years agoFix T55630: update issue between Object and TexPaint modes.
Bastien Montagne [Tue, 26 Jun 2018 10:31:06 +0000 (12:31 +0200)]
Fix T55630: update issue between Object and TexPaint modes.

Need to flush mesh DEG COW here, for some reason...

3 years agoUI: status bar cursor keymap display
Campbell Barton [Tue, 26 Jun 2018 10:18:54 +0000 (12:18 +0200)]
UI: status bar cursor keymap display

Show mouse button actions in status bar, based on context,
modifiers and active tool.

See: T54861

3 years agoIcons: mouse buttons & drag
Campbell Barton [Tue, 26 Jun 2018 10:10:51 +0000 (12:10 +0200)]
Icons: mouse buttons & drag

Monochrome icons from jendryzch

3 years agoTweak: Try to make the purpose of the collection/search fields clearer
Joshua Leung [Tue, 26 Jun 2018 09:41:08 +0000 (21:41 +1200)]
Tweak: Try to make the purpose of the collection/search fields clearer

Note: The labels in this panel are still WIP. There are probably clearer
names for some of these, including maybe even omitting some.

3 years agoAnimEditors: Remove the toggles to enable name/collection-based filtering
Joshua Leung [Tue, 26 Jun 2018 09:35:31 +0000 (21:35 +1200)]
AnimEditors: Remove the toggles to enable name/collection-based filtering

Now the name/collection filters run when there's some text,
and don't run when the box is empty, thus reducing an extra
step that was needed before these options could be used.

3 years agoAnimEditors UI: Move less frequently used filtering options to a "Filters" popovers
Joshua Leung [Tue, 26 Jun 2018 09:12:25 +0000 (21:12 +1200)]
AnimEditors UI: Move less frequently used filtering options to a "Filters" popovers

This commit is an experiment in using popovers as a place to house some
of the filtering options for animation editors, in line with what's taking
place in the Outliner with the filtering popover there too.

Right now, the most frequently used/changed options are still available
on the headers (i.e. the "Only Selected"/"Hidden"/search fields), while
everything else (i.e. the per-datablock filters, which were already hidden
behind a collapsed-toggle button before) now live in the popover.

3 years agoCleanup: dyntopo sculpt draw update: use same BM_face_as_array_vert_tri for indexbuf...
Bastien Montagne [Tue, 26 Jun 2018 09:41:59 +0000 (11:41 +0200)]
Cleanup: dyntopo sculpt draw update: use same BM_face_as_array_vert_tri for indexbuf generation.

It's cleaner, and actually assert that BMFace is a triangle. Same code
as when generating vertexbuf for flat shading!

3 years agoFix T55320: Sculpt Mode with dyntopo and smooth shading drawing bug.
Bastien Montagne [Tue, 26 Jun 2018 09:38:27 +0000 (11:38 +0200)]
Fix T55320: Sculpt Mode with dyntopo and smooth shading drawing bug.

We have to discard the batch in smooth case, because we are modifying
the index buffer (flat shading don't need it, only changes vertex buffer
on redraw, which is safe).

Many thanks to @fclem for his help on debuging/understanding what was
wrong here!

3 years agoFix memory leak when duplicating particles
Sergey Sharybin [Tue, 26 Jun 2018 09:31:28 +0000 (11:31 +0200)]
Fix memory leak when duplicating particles

3 years agoDepsgraph: Tag relations for update when particle dupli-collection changes
Sergey Sharybin [Tue, 26 Jun 2018 09:27:21 +0000 (11:27 +0200)]
Depsgraph: Tag relations for update when particle dupli-collection changes

3 years agoCleanup: comment
Dalai Felinto [Tue, 26 Jun 2018 09:05:59 +0000 (11:05 +0200)]
Cleanup: comment

3 years agoFree crash when freeing object caches from duplicator
Sergey Sharybin [Tue, 26 Jun 2018 08:47:35 +0000 (10:47 +0200)]
Free crash when freeing object caches from duplicator

3 years agoRevert "Turned off clang warnings in third party includes."
Stefan Werner [Tue, 26 Jun 2018 08:26:56 +0000 (10:26 +0200)]
Revert "Turned off clang warnings in third party includes."

This reverts commit d53093953f8f3b58600cb19020ecbe0b5f254b52.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 26 Jun 2018 07:34:13 +0000 (09:34 +0200)]
Merge branch 'master' into blender2.8

3 years agoPyAPI: add ImBuf.copy
Campbell Barton [Tue, 26 Jun 2018 07:30:18 +0000 (09:30 +0200)]
PyAPI: add ImBuf.copy

DD348 by @kilon w/ edits.

3 years agoPyAPI: move deep-copy args check to py_capi_utils
Campbell Barton [Tue, 26 Jun 2018 07:26:52 +0000 (09:26 +0200)]
PyAPI: move deep-copy args check to py_capi_utils

3 years agoCleanup: style, pep8
Campbell Barton [Tue, 26 Jun 2018 06:45:13 +0000 (08:45 +0200)]
Cleanup: style, pep8

3 years agoCleanup: style
Campbell Barton [Tue, 26 Jun 2018 06:35:35 +0000 (08:35 +0200)]
Cleanup: style

3 years agoCycles: Fix wrong row count for World MIS CDF calculation
Lukas Stockner [Tue, 26 Jun 2018 03:34:30 +0000 (05:34 +0200)]
Cycles: Fix wrong row count for World MIS CDF calculation

3 years agoTurned off clang warnings in third party includes.
Stefan Werner [Mon, 25 Jun 2018 21:02:01 +0000 (23:02 +0200)]
Turned off clang warnings in third party includes.

The latest clang compiler (at least the one in Xcode 9.4.1) warns about the register keyword and macro expansions using defined().
Since these warnings come from third party code, we can't address them directly in Blender. Silencing them via #pramgas will
at least keep the warnings during a build down to the ones that are relevant to Blender code.

3 years agoFix crash with files saved with missing render slots.
Brecht Van Lommel [Mon, 25 Jun 2018 18:26:14 +0000 (20:26 +0200)]
Fix crash with files saved with missing render slots.

3 years agoUI: Use background color for reports
Pablo Vazquez [Mon, 25 Jun 2018 16:57:47 +0000 (18:57 +0200)]
UI: Use background color for reports

At the moment it's using a hardcoded gray color that conflicts with
themes using gray for the header text. Instead use a slightly brighter
background color to make it stand, yet still use a theme setting.

3 years agoDraw: Use more proper particles index lookup
Sergey Sharybin [Mon, 25 Jun 2018 16:22:27 +0000 (18:22 +0200)]
Draw: Use more proper particles index lookup

3 years agoCycles: Free evaluated meshed when we are done with object
Sergey Sharybin [Mon, 25 Jun 2018 15:02:19 +0000 (17:02 +0200)]
Cycles: Free evaluated meshed when we are done with object

3 years agoCycles: Fix memory leak with session
Sergey Sharybin [Mon, 25 Jun 2018 15:01:24 +0000 (17:01 +0200)]
Cycles: Fix memory leak with session

We didn't check for sync object being already allocated.
In fact, we simply need to use proper function to free
session.

3 years agoPhysics: update softbody and dynamic paint to get colliders from depsgraph.
Brecht Van Lommel [Mon, 25 Jun 2018 12:21:15 +0000 (14:21 +0200)]
Physics: update softbody and dynamic paint to get colliders from depsgraph.

Because looping over the scene is unsafe and slow.

3 years agoCleanup: refactor depsgraph physics API functions.
Brecht Van Lommel [Mon, 25 Jun 2018 14:04:56 +0000 (16:04 +0200)]
Cleanup: refactor depsgraph physics API functions.

3 years agoUI: Single-column layout for Force Fields and Particles
William Reynish [Mon, 25 Jun 2018 15:04:34 +0000 (17:04 +0200)]
UI: Single-column layout for Force Fields and Particles

Force Fields and Falloff are now simpler and more compact
by removing unnecesary labels (there was a text label just for one option)

Particle Force Fields Falloff is now a sub-panel of each effector type,
rather than just as a section with label.

3 years agoUI: Single-column layout for View Layer, passes and World
William Reynish [Mon, 25 Jun 2018 15:02:47 +0000 (17:02 +0200)]
UI: Single-column layout for View Layer, passes and World

3 years agoUI: Single-column layout for Texture Color
William Reynish [Mon, 25 Jun 2018 15:01:50 +0000 (17:01 +0200)]
UI: Single-column layout for Texture Color

3 years agoUI: Single-column layout for Shape Keys and Geometry Data
William Reynish [Mon, 25 Jun 2018 14:57:44 +0000 (16:57 +0200)]
UI: Single-column layout for Shape Keys and Geometry Data

3 years agoFix T55360: marker-based Camera switch focal length bug.
Bastien Montagne [Mon, 25 Jun 2018 14:21:24 +0000 (16:21 +0200)]
Fix T55360: marker-based Camera switch focal length bug.

Scene was missing DEG tag update when its camera was changed based on
active 'camera marker'.

3 years agoFix T55493: Sculpting on smooth shaded bug.
Bastien Montagne [Mon, 25 Jun 2018 12:13:12 +0000 (14:13 +0200)]
Fix T55493: Sculpting on smooth shaded bug.

Undo was not tagging PBVH to update normals too...

3 years agoFix use of non-evaluated collision and effector objects.
Brecht Van Lommel [Mon, 25 Jun 2018 12:07:14 +0000 (14:07 +0200)]
Fix use of non-evaluated collision and effector objects.

Only enabled objects in the view layer should be used, while temporarily
hidden objects should still have an effect.

3 years agoCleanup: rename object base flags to be more clear.
Brecht Van Lommel [Mon, 25 Jun 2018 11:50:11 +0000 (13:50 +0200)]
Cleanup: rename object base flags to be more clear.

3 years agoDepsgraph: cache collision relations, for performance and stability.
Brecht Van Lommel [Fri, 22 Jun 2018 12:42:03 +0000 (14:42 +0200)]
Depsgraph: cache collision relations, for performance and stability.

Same reasoning as effector relations in earlier commit.