blender.git
3 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 22 Jun 2018 12:42:25 +0000 (14:42 +0200)]
Merge branch 'master' into blender2.8

3 years agoCMake: Make language explicit for per-file strict flags removal
Sergey Sharybin [Fri, 22 Jun 2018 12:40:00 +0000 (14:40 +0200)]
CMake: Make language explicit for per-file strict flags removal

3 years agoCMake: Cleanup, add_cc_flag -> add_c_flag
Sergey Sharybin [Fri, 22 Jun 2018 12:29:13 +0000 (14:29 +0200)]
CMake: Cleanup, add_cc_flag -> add_c_flag

3 years agoCMake: Cleanup, rename CC_REMOVE_STRICT_FLAGS to C_REMOVE_STRICT_FLAGS
Sergey Sharybin [Fri, 22 Jun 2018 12:17:55 +0000 (14:17 +0200)]
CMake: Cleanup, rename CC_REMOVE_STRICT_FLAGS to C_REMOVE_STRICT_FLAGS

3 years agoCMake: Tweaks to removal of strict flags
Sergey Sharybin [Fri, 22 Jun 2018 12:07:55 +0000 (14:07 +0200)]
CMake: Tweaks to removal of strict flags

Silences the following strict flags from external libraries:

- -Wclass-memaccess
- -Wswitch
- -Wtype-limits
- -Wint-in-bool-context

Needed to tweak macro a bit, since the old logic was wrong:
we can not use CXX flags for C compiler, need way more strict
separation between what goes where.

3 years agoCleanup: move cursor rotation into own function
Campbell Barton [Fri, 22 Jun 2018 11:56:14 +0000 (13:56 +0200)]
Cleanup: move cursor rotation into own function

3 years agoOutliner: Aggregate ID types and object types together with numbers
Dalai Felinto [Thu, 21 Jun 2018 17:40:14 +0000 (19:40 +0200)]
Outliner: Aggregate ID types and object types together with numbers

We draw small numbers over the icon of multiple objects of the same type.
Also, we make all inlined elements to be non-clickabled.

For modifiers we still do it the old way. In this case it is more important
to see the order then the ammount.

Reviewers: brecht, campbellbarton
Subscribers: billreynish, venomgfx

Design task and mockup: T54707
Differential Revision: https://developer.blender.org/D3497

3 years agoUpdate theme Flatty Dark Blueberry
Pablo Vazquez [Fri, 22 Jun 2018 11:45:27 +0000 (13:45 +0200)]
Update theme Flatty Dark Blueberry

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 22 Jun 2018 10:56:02 +0000 (12:56 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: rename 3D cursor calculation vars
Campbell Barton [Fri, 22 Jun 2018 10:55:15 +0000 (12:55 +0200)]
Cleanup: rename 3D cursor calculation vars

3 years agoCleanup: 2.8-new G.main in RNA code.
Bastien Montagne [Fri, 22 Jun 2018 10:50:26 +0000 (12:50 +0200)]
Cleanup: 2.8-new G.main in RNA code.

Again, essentially validating them, and adding assert check if needed.

3 years agoMerge branch 'master' into blender2.8
Bastien Montagne [Fri, 22 Jun 2018 10:46:16 +0000 (12:46 +0200)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/makesrna/intern/rna_image.c
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_object_force.c
source/blender/makesrna/intern/rna_screen.c
source/blender/makesrna/intern/rna_sculpt_paint.c
source/blender/makesrna/intern/rna_space.c
source/blender/python/bmesh/bmesh_py_types.c
source/blender/python/generic/bpy_internal_import.h
source/blender/python/intern/bpy_rna_anim.c
source/blender/python/intern/gpu_offscreen.c

3 years agoStudioLight: Only apply windowing when SH level is 2
Jeroen Bakker [Fri, 22 Jun 2018 10:37:03 +0000 (12:37 +0200)]
StudioLight: Only apply windowing when SH level is 2

It does not make much sense for the other levels

3 years agoCleanup: remove last G.main from RNA.
Bastien Montagne [Fri, 22 Jun 2018 10:35:41 +0000 (12:35 +0200)]
Cleanup: remove last G.main from RNA.

Again, we cannot actually get rid of G_MAIN global access here, so in
most case just 'marked' them as valid, and added assert checks to ensure
we do only work with IDs in G_MAIN in those cases.

3 years agoStudioLight: remove caches when removing studiolight
Jeroen Bakker [Fri, 22 Jun 2018 10:30:27 +0000 (12:30 +0200)]
StudioLight: remove caches when removing studiolight

Cache files were not deleted and when uploading a new file with the same
name resulted in using the old cache file.

3 years agoStudiolight: Spherical Harmonics Windowing
Jeroen Bakker [Fri, 22 Jun 2018 10:16:23 +0000 (12:16 +0200)]
Studiolight: Spherical Harmonics Windowing

Apply Windowing on the Spherical Harmonics result. This would lead to
better results.

3 years agoTweak new BKE_id_is_in_global_main to accept NULL pointer (and consider them as valid).
Bastien Montagne [Fri, 22 Jun 2018 10:26:45 +0000 (12:26 +0200)]
Tweak new BKE_id_is_in_global_main to accept NULL pointer (and consider them as valid).

3 years agoFix harmless use of unintialized memory
Sergey Sharybin [Fri, 22 Jun 2018 10:07:48 +0000 (12:07 +0200)]
Fix harmless use of unintialized memory

Still nbice to avoid such access to keep valgrind output more sane.

3 years agoCleanup, spelling
Sergey Sharybin [Fri, 22 Jun 2018 09:26:47 +0000 (11:26 +0200)]
Cleanup, spelling

3 years agoMath: Set matrix to zero when inversion fails
Sergey Sharybin [Fri, 22 Jun 2018 09:22:50 +0000 (11:22 +0200)]
Math: Set matrix to zero when inversion fails

Avoids usage of uninitialized memory when inversion fails.

That uninitialized memory can cause object to become visible when
it is supposed not to or other artifacts like that.

Longer term solution would be to check every instance of invert_m#
function and to explicit fallback when needed (possibly, using
extra utility functions).

3 years agoCleanup: get rid of last G.main's in bpy area.
Bastien Montagne [Fri, 22 Jun 2018 09:37:47 +0000 (11:37 +0200)]
Cleanup: get rid of last G.main's in bpy area.

Essentially 'validating' them as G_MAIN, and adding some asserts in
dubious places, that handled IDs are actually in G_MAIN.

3 years agoBKE_library: Add func to check an ID is actually in G_MAIN database.
Bastien Montagne [Fri, 22 Jun 2018 09:37:08 +0000 (11:37 +0200)]
BKE_library: Add func to check an ID is actually in G_MAIN database.

3 years agoPaintMode: Full Shading Boolean => Slider
Jeroen Bakker [Fri, 22 Jun 2018 08:37:38 +0000 (10:37 +0200)]
PaintMode: Full Shading Boolean => Slider

There was a Full Shading bool that was shared across the WP, VP and TP
modes. This commit makes some changes:

- Replace the bool with a factor. This gives the user more control on
the visibility.
- Also draw it on top of the Material and Rendered mode so the user can
control what he needs. In certain cases you don't want to see the final
rendered material, but the actual texture.
- Removed the skipping of objects when in paint modes. As now the paint
modes are blended.

3 years agoCleanup: style
Campbell Barton [Fri, 22 Jun 2018 06:18:02 +0000 (08:18 +0200)]
Cleanup: style

3 years agoCleanup: suppress assert in recent GPU refactor
Campbell Barton [Fri, 22 Jun 2018 06:10:59 +0000 (08:10 +0200)]
Cleanup: suppress assert in recent GPU refactor

3 years agoFix T55547: "Fit camera to selected" fails
Campbell Barton [Fri, 22 Jun 2018 05:54:55 +0000 (07:54 +0200)]
Fix T55547: "Fit camera to selected" fails

3 years agoGLRefactor: Refactor bf_blenfont to use GPUTexture instead of raw GL calls and types.
Ray Molenkamp [Fri, 22 Jun 2018 00:35:37 +0000 (18:35 -0600)]
GLRefactor: Refactor bf_blenfont to use GPUTexture instead of raw GL calls and types.

In an effort to centralize all opengl calls in the codebase, this patch replaces
the raw opengl calls in bf_blenfont with GPUTexture so it's no longer depended
on opengl headers.

reviewer: Brecht

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

3 years agoEdit Mode: Bevel Op: Offset Soft Max to 100
Aaron Carlisle [Thu, 21 Jun 2018 17:46:11 +0000 (13:46 -0400)]
Edit Mode: Bevel Op: Offset Soft Max to 100

This is consistent with the modifier

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 21 Jun 2018 17:29:22 +0000 (19:29 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55568: second click event ignored
Campbell Barton [Thu, 21 Jun 2018 17:26:21 +0000 (19:26 +0200)]
Fix T55568: second click event ignored

3 years agoRevert "Fix T55568: second click event ignored"
Campbell Barton [Thu, 21 Jun 2018 17:24:50 +0000 (19:24 +0200)]
Revert "Fix T55568: second click event ignored"

This reverts commit 52aa963f0ef1b6f4abba6653e9a441dee234127a.

Fixed for keyboards, broke mouse buttons.

3 years agoCleanup: get rid of dual DM/Mesh versions of mirror topology code.
Bastien Montagne [Thu, 21 Jun 2018 17:05:10 +0000 (19:05 +0200)]
Cleanup: get rid of dual DM/Mesh versions of mirror topology code.

Easy to switch to only use (evaluated) mesh instead!

3 years agoCleanup: ED_mesh_pick_vert: DM -> me_eval.
Bastien Montagne [Thu, 21 Jun 2018 16:38:37 +0000 (18:38 +0200)]
Cleanup: ED_mesh_pick_vert: DM -> me_eval.

3 years agoCleanup: remove DM from 'join as shape' operator.
Bastien Montagne [Thu, 21 Jun 2018 16:24:32 +0000 (18:24 +0200)]
Cleanup: remove DM from 'join as shape' operator.

Also deduplicated the 'mesh as shapekey' code, we had kind of two funcs
doing the same thing here...

3 years agoFix own error making outliner rename not emboss
Campbell Barton [Thu, 21 Jun 2018 16:15:17 +0000 (18:15 +0200)]
Fix own error making outliner rename not emboss

3 years agoModifiers: Stop using md->scene in isDisabled() callback
Sergey Sharybin [Thu, 21 Jun 2018 15:54:12 +0000 (17:54 +0200)]
Modifiers: Stop using md->scene in isDisabled() callback

This is first commit in series of changes to get rid of md->scene.

3 years agoFix incorrect use of G.is_rendering for particles in some places.
Brecht Van Lommel [Thu, 21 Jun 2018 14:30:34 +0000 (16:30 +0200)]
Fix incorrect use of G.is_rendering for particles in some places.

3 years agoCleanup: nuke useless BKE_DerivedMesh.h includes.
Bastien Montagne [Thu, 21 Jun 2018 14:45:33 +0000 (16:45 +0200)]
Cleanup: nuke useless BKE_DerivedMesh.h includes.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 21 Jun 2018 14:43:39 +0000 (16:43 +0200)]
Merge branch 'master' into blender2.8

3 years agoUI: don't show empty button context menu
Campbell Barton [Thu, 21 Jun 2018 14:33:27 +0000 (16:33 +0200)]
UI: don't show empty button context menu

3 years agoFix T55555: Crash when select material properties
Antonioya [Thu, 21 Jun 2018 14:10:52 +0000 (16:10 +0200)]
Fix T55555: Crash when select material properties

This error is only in Windows and Mac when select in properties the material tab.

This commit revert dc856be8399242f4ee3a2ce0450b7ac5a20b35f6 Preview: Add own opengl context to render preview images.

3 years agoDepsgraph: Add missing relation from proxy group
Sergey Sharybin [Thu, 21 Jun 2018 13:56:06 +0000 (15:56 +0200)]
Depsgraph: Add missing relation from proxy group

Transform evaluation does depend on that matrix, but relation was never
in dependency graph. It was not even in the old dependency graph, which
makes me wonder how this thing worked reliably to begin with.

Should fix flickering issue in the render farm.

3 years agoDepsgraph: Re-hook duplicgroup relation to final transform operation
Sergey Sharybin [Thu, 21 Jun 2018 13:47:55 +0000 (15:47 +0200)]
Depsgraph: Re-hook duplicgroup relation to final transform operation

Transform evaluation doesn't not depend on objects which are being duplicated,
so should not be any regressions here.

The whole relation should probably be gone as it's kind of rooting back to
legacy times, but that would need more clear research and investigation and
regression testing.

3 years agoDepsgraph: Walk into dupli_group object
Sergey Sharybin [Thu, 21 Jun 2018 13:41:51 +0000 (15:41 +0200)]
Depsgraph: Walk into dupli_group object

That will help with cases when dupli_group object is not linked
directly to the scene.

3 years agoCleanup: names: data transfer/mesh remap: dm -> me/mesh.
Bastien Montagne [Thu, 21 Jun 2018 13:32:01 +0000 (15:32 +0200)]
Cleanup: names: data transfer/mesh remap: dm -> me/mesh.

That area is now officially purged from the Devil.. errr... DerivedMesh!

3 years agoCleanup: data transfer: get rid of dual destination mesh.
Bastien Montagne [Thu, 21 Jun 2018 13:17:40 +0000 (15:17 +0200)]
Cleanup: data transfer: get rid of dual destination mesh.

Not needed anymore, we only actually need to know wether it's orig mesh
or eval one in a few places...

3 years agoCleanup: some potentially critical changes in data transfer.
Bastien Montagne [Thu, 21 Jun 2018 12:54:03 +0000 (14:54 +0200)]
Cleanup: some potentially critical changes in data transfer.

Removing that stuff should be valid with new depsgraph/modifiers stack
evaluation system... BUT it might not be, so rather have those in
separate own well-isolated commit.

3 years agoCleanup: nuke DM out of data transfer code.
Bastien Montagne [Thu, 21 Jun 2018 12:39:28 +0000 (14:39 +0200)]
Cleanup: nuke DM out of data transfer code.

This was actually rather hairy, this code is huge and complicated, easy
to make mistakes...

Good thing is, it will allow for significant simplification and more
(name) cleanup in following commits ;)

3 years agoFix Cycles incorrect versioning for automatic sample world resolution.
Brecht Van Lommel [Thu, 21 Jun 2018 13:25:29 +0000 (15:25 +0200)]
Fix Cycles incorrect versioning for automatic sample world resolution.

3 years agoFix T55525: "Only Keyframes from Selected Channels" option in Timeline was being...
Joshua Leung [Thu, 21 Jun 2018 13:25:48 +0000 (01:25 +1200)]
Fix T55525: "Only Keyframes from Selected Channels" option in Timeline was being ignored

I was originally going to just expose the filtering options fo the timeline
too (via popover), to provide full access to the filtering options here too.
However, investigating further, that would've caused problems when trying to
use the Next/Prev Keyframe operators in other editors (see comment in code).
For now, the simpler solution is to just sync the scene-level flag (used for
this option) back to the dopesheet settings (used for generating the summary
channel used for displaying keyframes), to buy some time to investigate more
carefully.

3 years agoWorkbench: Remove warning
Jeroen Bakker [Thu, 21 Jun 2018 13:15:41 +0000 (15:15 +0200)]
Workbench: Remove warning

When in forward rendering and Object outline was disabled every render
call created one console warning (uniform objectId not found)

this commit removes this warning

3 years agoRevert "Objects: when active object gets hidden, make it inactive."
Brecht Van Lommel [Thu, 21 Jun 2018 12:42:57 +0000 (14:42 +0200)]
Revert "Objects: when active object gets hidden, make it inactive."

This reverts commit fec97ec949, it's useful to be able to edit object
properties for hidden objects. The issue with mode locking that this
was meant to solve will be handled in another way.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 21 Jun 2018 13:02:38 +0000 (15:02 +0200)]
Merge branch 'master' into blender2.8

3 years agoT55570: Moved Texture drawtype as to shading popover
Jeroen Bakker [Thu, 21 Jun 2018 12:56:00 +0000 (14:56 +0200)]
T55570: Moved Texture drawtype as to shading popover

the use of the texture drawtype is limited. so who should we have it
this prominent on the screen. By adding it as a shading.color_type
option we should save some screenspace.

3 years agoUI: preference for developer extras
Campbell Barton [Thu, 21 Jun 2018 12:54:21 +0000 (14:54 +0200)]
UI: preference for developer extras

Currently only used for "Edit Source" feature.

3 years agoFix T55568: second click event ignored
Campbell Barton [Thu, 21 Jun 2018 08:58:03 +0000 (10:58 +0200)]
Fix T55568: second click event ignored

Double-click handling caused the second click to be ignored
for keymaps that only handle click.

3 years agoPython/BLF: add blf.color(r, g, b, a) method.
Brecht Van Lommel [Thu, 21 Jun 2018 11:01:24 +0000 (13:01 +0200)]
Python/BLF: add blf.color(r, g, b, a) method.

This is needed now that glColor() no longer works.

3 years agoFix T55573: Mode rotate on local axis crashes
Campbell Barton [Thu, 21 Jun 2018 10:53:58 +0000 (12:53 +0200)]
Fix T55573: Mode rotate on local axis crashes

3 years agoUI: Single column for Rigid Body World
William Reynish [Thu, 21 Jun 2018 10:41:01 +0000 (12:41 +0200)]
UI: Single column for Rigid Body World

3 years agoFix Cycles CUDA render errors with CUDA 9.2.
Brecht Van Lommel [Thu, 21 Jun 2018 09:29:09 +0000 (11:29 +0200)]
Fix Cycles CUDA render errors with CUDA 9.2.

Work around what might be a compiler bug.

3 years agoFix T55564: Cycles OpenCL build error on some scenes.
Brecht Van Lommel [Thu, 21 Jun 2018 09:18:51 +0000 (11:18 +0200)]
Fix T55564: Cycles OpenCL build error on some scenes.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 21 Jun 2018 09:10:37 +0000 (11:10 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55568: second click event ignored
Campbell Barton [Thu, 21 Jun 2018 08:58:03 +0000 (10:58 +0200)]
Fix T55568: second click event ignored

Double-click handling caused the second click to be ignored
for keymaps that only handle click.

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 21 Jun 2018 08:32:16 +0000 (10:32 +0200)]
Merge branch 'master' into blender2.8

3 years agoFix T55491: Double click fail in menu popups
Campbell Barton [Thu, 21 Jun 2018 07:50:24 +0000 (09:50 +0200)]
Fix T55491: Double click fail in menu popups

3 years agoWM: don't make LMB a special case for double click
Campbell Barton [Thu, 21 Jun 2018 07:49:30 +0000 (09:49 +0200)]
WM: don't make LMB a special case for double click

3 years agoCodeStyle: Comments
Jeroen Bakker [Thu, 21 Jun 2018 07:22:34 +0000 (09:22 +0200)]
CodeStyle: Comments

3 years agoCode cleanup: Added newline
Jeroen Bakker [Thu, 21 Jun 2018 07:05:31 +0000 (09:05 +0200)]
Code cleanup: Added newline

3 years agoMissed warning is previous commit
Jeroen Bakker [Thu, 21 Jun 2018 07:04:03 +0000 (09:04 +0200)]
Missed warning is previous commit

3 years agoStudiolight: Calculation of irradiance buffer
Jeroen Bakker [Thu, 21 Jun 2018 06:56:54 +0000 (08:56 +0200)]
Studiolight: Calculation of irradiance buffer

The calculation of the irradiance buffer was slow. Now it is only
calculated when it is being used (background_alpha > 0.0)
this solves the freeze when switching to LookDev mode.

Also changed the default calculation to use the Spherical Harmonics
calculation. This is able to generate the irradiance buffer fast, but is
less accurate. As the irradiance buffer is only used for visual
guidance speed is more important than accuracy.

Added compile directive to switch between the implementations.
(see STUDIOLIGHT_IRRADIANCE_METHOD)

Disabled caching the irradiance buffer when
STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS is used as it is not
needed.

3 years agoFix: Ensure that summary channel is enabled when creating timeline
Joshua Leung [Thu, 21 Jun 2018 05:18:35 +0000 (17:18 +1200)]
Fix: Ensure that summary channel is enabled when creating timeline

3 years agoGraph Editor: Changing the display mode to "Drivers" mode now runs the Drivers-Editor...
Joshua Leung [Thu, 21 Jun 2018 05:15:45 +0000 (17:15 +1200)]
Graph Editor: Changing the display mode to "Drivers" mode now runs the Drivers-Editor UI setup code

This is a step towards being able to just choose the "Drivers Editor"
from the editor selector, and have everything displayed, ready to use.

Currently there are a few problems to resolve still:
1) This update callback doesn't run when changing the mode via the
   editors selector in the UI. (Note: This problem also affects the
   Timeline vs Dopesheet, causing a lot of initialisation work to be
   skipped)

2) There's some missing redraw/refresh here to cause the properties
   region to actually show. You need to resize the window for that to
   happen now.

3 years agoCleanup: Move logic for initialising a new Drivers editor into its own function
Joshua Leung [Thu, 21 Jun 2018 04:57:59 +0000 (16:57 +1200)]
Cleanup: Move logic for initialising a new Drivers editor into its own function

This shouldn't really be part of the windowmanager code. Pulling it out
now, so that we can reuse in RNA when switching display modes,
(and perhaps other places later)

3 years agoRemove debug prints
Joshua Leung [Thu, 21 Jun 2018 04:08:52 +0000 (16:08 +1200)]
Remove debug prints

3 years agoFix: Incorrect submodes being set in Dopesheet/Action Editor when changing modes
Joshua Leung [Thu, 21 Jun 2018 04:07:47 +0000 (16:07 +1200)]
Fix: Incorrect submodes being set in Dopesheet/Action Editor when changing modes

This commit fixes a number of problematic corner cases when switching between
editors after 2b5050a4cdfbb075d360fd39433acea07432c60b

The root cause of these issues was that mode_prev was not being set in
many cases, resulting in mode changes to the Timeline and back (via other
editors) causing Dopesheet Editors to reset back to "Action Editor" mode.

1) Creating new Dopesheet Editors (e.g. change the default 3D view to
   a Dopesheet editor) would default to displaying the "Action Editor",
   since mode/mode_prev == 0 represents the "Action Editor" (for backwards
   compatability reasons), while mode == 3 is for the "Dopesheet"

2) If you set the Dopesheet Editor to another mode (e.g. "Grease Pencil" mode),
   change to another editor (e.g. Shaders), then come back, the mode would
   get reset to "Action Editor".

3 years agoUI: Use Collection icon for New Collection in Outliner
Pablo Vazquez [Wed, 20 Jun 2018 23:01:02 +0000 (01:01 +0200)]
UI: Use Collection icon for New Collection in Outliner

Also temporarily bring back the toggle to search, since it's off by default.

3 years agoUI: button to create new collection in the Outliner
Pablo Vazquez [Wed, 20 Jun 2018 22:37:57 +0000 (00:37 +0200)]
UI: button to create new collection in the Outliner

Expose search like in 2.7, we could make it pop on Ctrl+F to save space if needed.
Align Filter and the less used View menu to the right.

Based on mockups and feedback session with William

3 years agoUI: Icons for Outliner display modes
Pablo Vazquez [Wed, 20 Jun 2018 22:32:56 +0000 (00:32 +0200)]
UI: Icons for Outliner display modes

We need a better icon for Orphan Data

3 years agoUI: adjust menu triangle
Campbell Barton [Wed, 20 Jun 2018 19:34:27 +0000 (21:34 +0200)]
UI: adjust menu triangle

Was not centered for single icon buttons.

3 years agoUI: rename "NLA Editor" -> "Nonlinear Animation"
Campbell Barton [Wed, 20 Jun 2018 18:16:47 +0000 (20:16 +0200)]
UI: rename "NLA Editor" -> "Nonlinear Animation"

See: T54744

3 years agoUI: expose Timeline as a space type
Campbell Barton [Wed, 20 Jun 2018 18:05:19 +0000 (20:05 +0200)]
UI: expose Timeline as a space type

See: T54744

3 years agoUI: expose Driver as a space type
Campbell Barton [Wed, 20 Jun 2018 16:45:56 +0000 (18:45 +0200)]
UI: expose Driver as a space type

See: T54744

3 years agoSilence warning in greasepencil-object branch
Dalai Felinto [Wed, 20 Jun 2018 16:42:11 +0000 (18:42 +0200)]
Silence warning in greasepencil-object branch

We don't have warnings in 2.8 because of include order.
But headers shouldn't depend on that for warnings, really.

3 years agoCleanup: pep8, single quotes for enums
Campbell Barton [Wed, 20 Jun 2018 16:21:01 +0000 (18:21 +0200)]
Cleanup: pep8, single quotes for enums

3 years agoDespgraph: don't tag for transform/geometry update on relations rebuild.
Brecht Van Lommel [Wed, 20 Jun 2018 15:42:57 +0000 (17:42 +0200)]
Despgraph: don't tag for transform/geometry update on relations rebuild.

This should already be happening elsewhere and was causing depsgraph
rebuild to be slower than it should.

3 years agoDepsgraph: add some missing depsgraph tags when relations change.
Brecht Van Lommel [Wed, 20 Jun 2018 15:43:56 +0000 (17:43 +0200)]
Depsgraph: add some missing depsgraph tags when relations change.

3 years agoFix outliner mixed collection/object visibility drag toggle not working.
Brecht Van Lommel [Wed, 20 Jun 2018 16:10:20 +0000 (18:10 +0200)]
Fix outliner mixed collection/object visibility drag toggle not working.

3 years agoFix hide object operator to do nothing if no object is selected.
Brecht Van Lommel [Wed, 20 Jun 2018 14:17:12 +0000 (16:17 +0200)]
Fix hide object operator to do nothing if no object is selected.

3 years agoUI: Style locks in Object Transform panel
Pablo Vazquez [Wed, 20 Jun 2018 15:01:33 +0000 (17:01 +0200)]
UI: Style locks in Object Transform panel

3 years agoCleanup: whitespace
Campbell Barton [Wed, 20 Jun 2018 14:41:02 +0000 (16:41 +0200)]
Cleanup: whitespace

3 years agoUI: Single column, flow and sub-panel for collision physics
William Reynish [Wed, 20 Jun 2018 14:32:42 +0000 (16:32 +0200)]
UI: Single column, flow and sub-panel for collision physics

3 years agoCleanup: follow naming conventions
Campbell Barton [Wed, 20 Jun 2018 14:32:31 +0000 (16:32 +0200)]
Cleanup: follow naming conventions

Using panels for presets printed warnings for classes named as menus.

3 years agoIcons: update generation script
Campbell Barton [Wed, 20 Jun 2018 14:15:06 +0000 (16:15 +0200)]
Icons: update generation script

3 years agoUI: Single column layout for Force Fields
William Reynish [Wed, 20 Jun 2018 14:10:03 +0000 (16:10 +0200)]
UI: Single column layout for Force Fields

3 years agoUI: Dynamic Paint panels into sub-panels
William Reynish [Wed, 20 Jun 2018 14:02:32 +0000 (16:02 +0200)]
UI: Dynamic Paint panels into sub-panels

3 years agoStudiolight: Spherical harmonics
Jeroen Bakker [Wed, 20 Jun 2018 14:07:31 +0000 (16:07 +0200)]
Studiolight: Spherical harmonics

Compile time option to reduce the level of the SH

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 20 Jun 2018 14:01:30 +0000 (16:01 +0200)]
Merge branch 'master' into blender2.8

3 years agoCleanup: naming (make it clear vars are squared)
Campbell Barton [Wed, 20 Jun 2018 13:58:46 +0000 (15:58 +0200)]
Cleanup: naming (make it clear vars are squared)

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 20 Jun 2018 13:50:54 +0000 (15:50 +0200)]
Merge branch 'master' into blender2.8

3 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 20 Jun 2018 13:40:14 +0000 (15:40 +0200)]
Merge branch 'master' into blender2.8