blender.git
2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 9 Jul 2018 15:57:37 +0000 (17:57 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: use const transform args
Campbell Barton [Mon, 9 Jul 2018 15:57:05 +0000 (17:57 +0200)]
Cleanup: use const transform args

2 years agoDepsgraph: Fix non-working drivers after recent relations change
Sergey Sharybin [Mon, 9 Jul 2018 15:41:04 +0000 (17:41 +0200)]
Depsgraph: Fix non-working drivers after recent relations change

2 years agoUI: add search to popup toolbar
Campbell Barton [Mon, 9 Jul 2018 15:36:25 +0000 (17:36 +0200)]
UI: add search to popup toolbar

Add for convenience only.

2 years agoUI: move visibility panel into the side bar
Campbell Barton [Mon, 9 Jul 2018 15:00:09 +0000 (17:00 +0200)]
UI: move visibility panel into the side bar

2 years agoKeymap: use Shift-AccentGrave for fly/walk mode
Campbell Barton [Mon, 9 Jul 2018 14:43:40 +0000 (16:43 +0200)]
Keymap: use Shift-AccentGrave for fly/walk mode

2 years agoFix T55868: duplicating collection instances fails sometimes.
Brecht Van Lommel [Mon, 9 Jul 2018 13:36:06 +0000 (15:36 +0200)]
Fix T55868: duplicating collection instances fails sometimes.

2 years agoUI: Minor tweaks to default theme
Pablo Vazquez [Mon, 9 Jul 2018 13:36:30 +0000 (15:36 +0200)]
UI: Minor tweaks to default theme

Based on feedback from the 'User Feedback' devtalk forum

* More opaque panels for the viewport
* Darker state colors
* Current frame color consistency for MCE

2 years agoKeymap: Remove AccentGrave for each
Campbell Barton [Mon, 9 Jul 2018 12:12:31 +0000 (14:12 +0200)]
Keymap: Remove AccentGrave for each

Use only F3 for search since this is a common enough key
and it turns out having AccentGrave access on non US layouts is
too unreliable.

2 years agoDepsgraph: Force modifier stack update when mesh is copied
Sergey Sharybin [Mon, 9 Jul 2018 12:17:36 +0000 (14:17 +0200)]
Depsgraph: Force modifier stack update when mesh is copied

Modifier stack might reference arrays from mesh, so if any of sub-data
pointer changed, modifier stack is to be re-evaluated.

2 years agoDepsgraph: Forbid flush from copy-on-write operations down the road
Sergey Sharybin [Fri, 6 Jul 2018 10:33:12 +0000 (12:33 +0200)]
Depsgraph: Forbid flush from copy-on-write operations down the road

Old behavior: tagging ID with DEG_TAG_COPY_ON_WRITE will do copy-on-write
(as requested), but will also flush changes to all operations with depends
on it. This means, for example, tagging object for copy-on-write will force
its modifier stack to be evaluated.

This was needed in the earlier days of copy-on-write when things were not
well defined and when lots of areas were not doing proper tagging.

New behavior: tagging ID with DEG_TAG_COPY_ON_WRITE will only ensure copy
of the dadatblock is up to date, without flushing updates to any dependencies.

This means following things:

- We can update parts of ID without invoking heavy computation of other
  parts of same ID. For example, tagging object for COPY_ON_WRITE update
  on mode change will not force modifiers stack to update.

- If some dependent datablock is dependent on pointers which are invalidated
  by copy-on-write (like, evaluated mesh referencing custom data layers from
  original mesh), this will either require explicit tag or explicit relation
  in the dependency graph.

  Currently can not find a faulty case since tagging of mesh happens with
  either 0 (which means, everything) or with GEOMETRY, which also forces
  all dependent modifier stacks to be re-evaluated.

This fixes missing PBVH when going into sculpt mode (sculpt mode toggle
was tagging object for COPY_ON_WRITE update, which was forcing modifier
stack to be updated, which was freeing PBVH.

Some other operations might also become faster with this change.

2 years agoKeymap: Add back Shift-R 'repeat last'
Campbell Barton [Mon, 9 Jul 2018 12:08:25 +0000 (14:08 +0200)]
Keymap: Add back Shift-R 'repeat last'

This may be used often in a workflow, so keep the key.

2 years agoKeymap: macos only operator search key: Cmd-F
Campbell Barton [Mon, 9 Jul 2018 12:06:51 +0000 (14:06 +0200)]
Keymap: macos only operator search key: Cmd-F

Add Cmd-F for apple because it's not easily available on some systems.

2 years agoFix object mode menu crashing w/o active object
Campbell Barton [Mon, 9 Jul 2018 11:38:10 +0000 (13:38 +0200)]
Fix object mode menu crashing w/o active object

2 years agoUI: Remove 1 pixel gap between panel header and background
Pablo Vazquez [Mon, 9 Jul 2018 10:57:51 +0000 (12:57 +0200)]
UI: Remove 1 pixel gap between panel header and background

2 years agoKeymap: Remove modal keymaps from blender_27x
Campbell Barton [Mon, 9 Jul 2018 06:55:06 +0000 (08:55 +0200)]
Keymap: Remove modal keymaps from blender_27x

Hard coded keys have been removed from transform.
Since these keymaps will likely remain unchanged,
remove them to avoid maintenance overhead.

2 years agoUI: hide redundant transform keymap items
Campbell Barton [Mon, 9 Jul 2018 06:41:48 +0000 (08:41 +0200)]
UI: hide redundant transform keymap items

2 years agoWM: support for filtering modal keymap items
Campbell Barton [Mon, 9 Jul 2018 06:39:09 +0000 (08:39 +0200)]
WM: support for filtering modal keymap items

Modal keymap display often shows items which aren't used,
add a poll funciton to hide these from the status bar.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 9 Jul 2018 05:42:46 +0000 (07:42 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: remove 'Orientation' from keymap item name
Campbell Barton [Mon, 9 Jul 2018 05:39:26 +0000 (07:39 +0200)]
Cleanup: remove 'Orientation' from keymap item name

It's constraint not an orientation,
in transform context it can be inferred.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 9 Jul 2018 05:30:58 +0000 (07:30 +0200)]
Merge branch 'master' into blender2.8

2 years agoKeymap: remove some hard coded transform events
Campbell Barton [Mon, 9 Jul 2018 05:29:12 +0000 (07:29 +0200)]
Keymap: remove some hard coded transform events

Also re-order for display purposes

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Mon, 9 Jul 2018 04:40:47 +0000 (06:40 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: right shift
Campbell Barton [Mon, 9 Jul 2018 04:38:07 +0000 (06:38 +0200)]
Cleanup: right shift

2 years ago3D View: select exclude w/ ob-center enabled
Campbell Barton [Mon, 9 Jul 2018 04:28:05 +0000 (06:28 +0200)]
3D View: select exclude w/ ob-center enabled

2 years agoIcons: support for drawing event icons
Campbell Barton [Sun, 8 Jul 2018 09:57:59 +0000 (11:57 +0200)]
Icons: support for drawing event icons

Use for drawing modal operator header keys.

2 years agoFix crash in lamp preview render
Campbell Barton [Sun, 8 Jul 2018 19:15:39 +0000 (21:15 +0200)]
Fix crash in lamp preview render

Missing NULL check in object type filtering.

2 years agoCleanup: rename 'ct' to 'len' for editors
Campbell Barton [Sun, 8 Jul 2018 11:19:10 +0000 (13:19 +0200)]
Cleanup: rename 'ct' to 'len' for editors

2 years agoCleanup: rename 'ct' to 'len' for gpu
Campbell Barton [Sun, 8 Jul 2018 11:14:49 +0000 (13:14 +0200)]
Cleanup: rename 'ct' to 'len' for gpu

2 years agoCleanup: rename 'ct' to 'len' for gawain
Campbell Barton [Sun, 8 Jul 2018 11:05:41 +0000 (13:05 +0200)]
Cleanup: rename 'ct' to 'len' for gawain

2 years agoCleanup: rename 'ct' to 'len' for size vars
Campbell Barton [Sun, 8 Jul 2018 10:45:53 +0000 (12:45 +0200)]
Cleanup: rename 'ct' to 'len' for size vars

2 years agoCleanup: abbreviate unsigned types (editors, wm)
Campbell Barton [Sun, 8 Jul 2018 10:48:04 +0000 (12:48 +0200)]
Cleanup: abbreviate unsigned types (editors, wm)

2 years agoCleanup: abbreviate unsigned types (draw manager)
Campbell Barton [Sun, 8 Jul 2018 10:47:13 +0000 (12:47 +0200)]
Cleanup: abbreviate unsigned types (draw manager)

2 years agoCorrect recent keymap change, writing all keymaps
Campbell Barton [Sat, 7 Jul 2018 18:03:30 +0000 (20:03 +0200)]
Correct recent keymap change, writing all keymaps

2 years agoKeymap: store 2.7x map as data instead of running code
Campbell Barton [Sat, 7 Jul 2018 17:50:37 +0000 (19:50 +0200)]
Keymap: store 2.7x map as data instead of running code

2 years agoKeymap: support for reading/writing keymaps as data
Campbell Barton [Sat, 7 Jul 2018 17:50:10 +0000 (19:50 +0200)]
Keymap: support for reading/writing keymaps as data

Instead of running code to create a keymap, store them as data.
This allows for keymaps to share content as well as running
transformations at load time.

2 years agoFix scale in Apply Pose As Rest Pose for bendy bones.
Alexander Gavrilov [Sat, 7 Jul 2018 11:41:29 +0000 (14:41 +0300)]
Fix scale in Apply Pose As Rest Pose for bendy bones.

Scale is multiplicative, and adding it up causes the bone to bloat.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Sat, 7 Jul 2018 09:32:40 +0000 (11:32 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: isinstance can take multiple types
Campbell Barton [Sat, 7 Jul 2018 09:27:48 +0000 (11:27 +0200)]
Cleanup: isinstance can take multiple types

2 years agoCleanup: pep8, style
Campbell Barton [Sat, 7 Jul 2018 06:58:37 +0000 (08:58 +0200)]
Cleanup: pep8, style

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Sat, 7 Jul 2018 06:53:00 +0000 (08:53 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: pep8
Campbell Barton [Sat, 7 Jul 2018 06:48:35 +0000 (08:48 +0200)]
Cleanup: pep8

2 years agoCleanup: redundant poll checks
Campbell Barton [Sat, 7 Jul 2018 06:36:17 +0000 (08:36 +0200)]
Cleanup: redundant poll checks

2 years agoViewport: in Lookdev shading, disable scene lights and world by default.
Brecht Van Lommel [Fri, 6 Jul 2018 16:53:51 +0000 (18:53 +0200)]
Viewport: in Lookdev shading, disable scene lights and world by default.

Now we light with just a user defined HDRI by default, which is useful
for material setup and texture painting and lighting without having to
set up any scene lights.

Previously it would use the scene world without lights by default, which
in some files is just black.

2 years agoCleanup: remove unused shader node compatibility flag.
Brecht Van Lommel [Thu, 5 Jul 2018 17:18:43 +0000 (19:18 +0200)]
Cleanup: remove unused shader node compatibility flag.

No longer needed after Blender Internal removal and Eevee replacing the
Cycles GLSL shading nodes.

2 years agoUI/Python: rename Lamps to Lights, to follow more standard terminology.
Brecht Van Lommel [Wed, 27 Jun 2018 12:41:53 +0000 (14:41 +0200)]
UI/Python: rename Lamps to Lights, to follow more standard terminology.

Internally it's still mostly named lamps, though some modules like Cycles
were already calling them lights.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 6 Jul 2018 17:34:41 +0000 (19:34 +0200)]
Merge branch 'master' into blender2.8

2 years agoUI: Add extra padding to menus to draw sub-menu triangles in
Julian Eisel [Fri, 6 Jul 2018 17:26:12 +0000 (19:26 +0200)]
UI: Add extra padding to menus to draw sub-menu triangles in

Shortcut strings would be offset to the left to make space for the triangles,
breaking the alignment with other shortcut strings. Now this alignment is kept
by making menus slightly wider if there's a sub-menu triangle visible, making
room for the triangle.

2 years agoUI: Use flat triangle drawing for indicating submenus
Julian Eisel [Thu, 5 Jul 2018 21:30:53 +0000 (23:30 +0200)]
UI: Use flat triangle drawing for indicating submenus

Left the RIGHTARROW_THIN icon in, even though it's not used in C code anymore.
However add-ons may do (e.g. Amaranth does).

2 years agoPyDrivers: update bytecode check for Python3.6
Campbell Barton [Fri, 6 Jul 2018 17:31:00 +0000 (19:31 +0200)]
PyDrivers: update bytecode check for Python3.6

2 years agoUI: Single-column for 3D Cursor panel in 3D View
Pablo Vazquez [Fri, 6 Jul 2018 16:29:57 +0000 (18:29 +0200)]
UI: Single-column for 3D Cursor panel in 3D View

2 years agoUI: 3D View, View panel: single-column, flow and subpanel
Vuk Gardašević [Fri, 6 Jul 2018 16:22:55 +0000 (18:22 +0200)]
UI: 3D View, View panel: single-column, flow and subpanel

See D3525

2 years ago3D View: support object type visibility/selection
Campbell Barton [Fri, 6 Jul 2018 15:43:53 +0000 (17:43 +0200)]
3D View: support object type visibility/selection

Trying to have a single option for this is too likely to be
insufficient in some cases.

Instead, support object type visibility & selectability per view-port.

2 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Fri, 6 Jul 2018 15:16:23 +0000 (17:16 +0200)]
Merge branch 'master' into blender2.8

2 years agoAnimation player: Ensure new frames are displayed while dragging mouse
Sergey Sharybin [Fri, 6 Jul 2018 15:14:16 +0000 (17:14 +0200)]
Animation player: Ensure new frames are displayed while dragging mouse

Thanks Campbell for review!

2 years agoFix T55796: Motion Paths are not being drawn as overlay
Joshua Leung [Fri, 6 Jul 2018 14:52:11 +0000 (02:52 +1200)]
Fix T55796: Motion Paths are not being drawn as overlay

Remove depth testing flags from motion path pass drawing,
so that they always appear to draw in "x-ray" style on top
of everything, making it easier for animators to see what
they're doing.

2 years agoUI: Default theme unification
Pablo Vazquez [Fri, 6 Jul 2018 14:15:34 +0000 (16:15 +0200)]
UI: Default theme unification

More unification of colors and roundness.

Also use accent color as current_frame indicator.

2 years agoKeymap: update 2.7x
Campbell Barton [Fri, 6 Jul 2018 12:49:51 +0000 (14:49 +0200)]
Keymap: update 2.7x

2 years agoDepsgraph: Relations builder should not tag ID in all depsgraphs
Sergey Sharybin [Fri, 6 Jul 2018 12:45:14 +0000 (14:45 +0200)]
Depsgraph: Relations builder should not tag ID in all depsgraphs

2 years agoKeymap: outliner now uses A/Alt-A for selection
Campbell Barton [Fri, 6 Jul 2018 12:45:30 +0000 (14:45 +0200)]
Keymap: outliner now uses A/Alt-A for selection

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 6 Jul 2018 12:41:14 +0000 (14:41 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: use outliner_flag_* name prefix
Campbell Barton [Fri, 6 Jul 2018 12:40:13 +0000 (14:40 +0200)]
Cleanup: use outliner_flag_* name prefix

2 years agoUI: small layout fixes for RMB context menus.
Brecht Van Lommel [Fri, 6 Jul 2018 11:37:39 +0000 (13:37 +0200)]
UI: small layout fixes for RMB context menus.

2 years agoUI: disable broken horizontal properties editor alignment.
Brecht Van Lommel [Fri, 6 Jul 2018 11:46:26 +0000 (13:46 +0200)]
UI: disable broken horizontal properties editor alignment.

2 years agoUI: draw search popups with menu background, instead of box.
Brecht Van Lommel [Fri, 6 Jul 2018 11:02:15 +0000 (13:02 +0200)]
UI: draw search popups with menu background, instead of box.

Otherwise these are not visible well with the new dark theme.

2 years agoFix crash with properties editor pinning.
Brecht Van Lommel [Fri, 6 Jul 2018 09:37:17 +0000 (11:37 +0200)]
Fix crash with properties editor pinning.

2 years agoFix layout issue with enum property separators.
Brecht Van Lommel [Fri, 6 Jul 2018 09:28:00 +0000 (11:28 +0200)]
Fix layout issue with enum property separators.

2 years agoMerge branch 'master' into blender2.8
Philipp Oeser [Fri, 6 Jul 2018 12:03:51 +0000 (14:03 +0200)]
Merge branch 'master' into blender2.8

 Conflicts:
source/blender/editors/screen/screen_edit.c

2 years agoMerge remote-tracking branch 'origin/master' into blender2.8
Sybren A. Stüvel [Fri, 6 Jul 2018 11:53:35 +0000 (13:53 +0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

2 years agoFix crash when startup file has an image in it
Sybren A. Stüvel [Fri, 6 Jul 2018 11:52:35 +0000 (13:52 +0200)]
Fix crash when startup file has an image in it

This fixes an issue introduced in d192d723123add1dde3e9f7e9458aefcafb7e7d2.
When starting up, the UI hasn't been fully initialised yet, and calling
wm_event_do_depsgraph() can trigger icon updates when the startup file
contains an image, causing a segfault due to a not-yet-initialised ghash
for the icons.

2 years agofix c++ comment style in 3cc2a9b934d0
Philipp Oeser [Fri, 6 Jul 2018 10:58:07 +0000 (12:58 +0200)]
fix c++ comment style in 3cc2a9b934d0

2 years agoOcean Modifier: removed unused refresh flags
Sybren A. Stüvel [Fri, 6 Jul 2018 10:42:58 +0000 (12:42 +0200)]
Ocean Modifier: removed unused refresh flags

The flags were set and cleared correctly, but nothing was actually reading
them.

2 years agoOcean Modifier: removed the MOD_OCEAN_REFRESH_ADD flag
Sybren A. Stüvel [Fri, 6 Jul 2018 10:40:09 +0000 (12:40 +0200)]
Ocean Modifier: removed the MOD_OCEAN_REFRESH_ADD flag

The flag was only used in readfile.c, and resulted in a delayed call to
BKE_ocean_add(); this call is now immediately made instead as it's not
very expensive.

2 years agoMerge branch 'master' into blender2.8
Philipp Oeser [Fri, 6 Jul 2018 10:30:48 +0000 (12:30 +0200)]
Merge branch 'master' into blender2.8

Conflicts:
source/blender/editors/screen/screen_edit.c

2 years agoRemove print left in by accident
Campbell Barton [Fri, 6 Jul 2018 10:10:30 +0000 (12:10 +0200)]
Remove print left in by accident

2 years agoFix T55581: kill running (render) jobs when deleting a scene
Philipp Oeser [Fri, 22 Jun 2018 11:44:12 +0000 (13:44 +0200)]
Fix T55581: kill running (render) jobs when deleting a scene

also fixed passing WM_JOB_TYPE_ANY to WM_jobs_kill_type()

Reviewed By: brecht

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

2 years agoCycles: Enabled half precision textures for OpenCL devices that support the cl_khr_fp...
Stefan Werner [Fri, 6 Jul 2018 09:42:34 +0000 (11:42 +0200)]
Cycles: Enabled half precision textures for OpenCL devices that support the cl_khr_fp16 extension.

2 years agoFix view pie menu
Campbell Barton [Fri, 6 Jul 2018 09:17:50 +0000 (11:17 +0200)]
Fix view pie menu

2 years agoAddons: silence warnings instead of disabling
Campbell Barton [Fri, 6 Jul 2018 08:59:29 +0000 (10:59 +0200)]
Addons: silence warnings instead of disabling

2 years agoAddons: svg has been updated
Campbell Barton [Fri, 6 Jul 2018 08:23:08 +0000 (10:23 +0200)]
Addons: svg has been updated

2 years agoCycles: Fixed OpenCL kernel build, it threw a compiler error.
Stefan Werner [Fri, 6 Jul 2018 08:21:02 +0000 (10:21 +0200)]
Cycles: Fixed OpenCL kernel build, it threw a compiler error.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 6 Jul 2018 08:18:52 +0000 (10:18 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: strip trailing space for cycles
Campbell Barton [Fri, 6 Jul 2018 08:17:58 +0000 (10:17 +0200)]
Cleanup: strip trailing space for cycles

2 years agoCycles: missed when renaming updated RNA
Campbell Barton [Fri, 6 Jul 2018 08:16:28 +0000 (10:16 +0200)]
Cycles: missed when renaming updated RNA

2 years agoMerge branch 'master' into 28
Campbell Barton [Fri, 6 Jul 2018 08:10:47 +0000 (10:10 +0200)]
Merge branch 'master' into 28

2 years agoEmpty Object: Center images by default
Campbell Barton [Fri, 6 Jul 2018 08:05:14 +0000 (10:05 +0200)]
Empty Object: Center images by default

2 years agoFix typo in empty image drawing
Campbell Barton [Fri, 6 Jul 2018 08:01:05 +0000 (10:01 +0200)]
Fix typo in empty image drawing

2 years agoFix image drag and drop
Campbell Barton [Fri, 6 Jul 2018 07:10:07 +0000 (09:10 +0200)]
Fix image drag and drop

- Dropping now creates empty images w/o holding Ctrl.
- Dropping background images works when cursor over camera.

2 years agoDisable addons which haven't been updated
Campbell Barton [Fri, 6 Jul 2018 06:02:20 +0000 (08:02 +0200)]
Disable addons which haven't been updated

Gave noisy warnings on startup.

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Fri, 6 Jul 2018 05:56:08 +0000 (07:56 +0200)]
Merge branch 'master' into blender2.8

2 years agoBKE_addons: utility to remove by name
Campbell Barton [Fri, 6 Jul 2018 05:55:29 +0000 (07:55 +0200)]
BKE_addons: utility to remove by name

2 years agoFurther tweaks to drawing of non-selected graph editor keyframes
Joshua Leung [Fri, 6 Jul 2018 03:38:25 +0000 (15:38 +1200)]
Further tweaks to drawing of non-selected graph editor keyframes

The previous commit only solves the problem when using the default
theme using factory settings. For previously saved themes, there could
still be problems, as the alpha values were still 0.

This commit improves the logic here so that while keyframe points on
unselected F-Curves will still get faded out (to not stick out too much
from the curves they live on), but the effect will not be as pronounced
(i.e. the points will stay visible all the time).

2 years agoFix T55777: Non-selected keys in Graph Editor are invisible
Joshua Leung [Fri, 6 Jul 2018 03:15:45 +0000 (15:15 +1200)]
Fix T55777: Non-selected keys in Graph Editor are invisible

Restore theem setting default for Graph Editor's vertex,
with default alpha set to 1.0. The alpha value here needs
to be non-zero, as the alpha values currently get used
when drawing verts.

2 years agoFix T55775: Crash when select keyframe on object channels in Timeline editor
Joshua Leung [Fri, 6 Jul 2018 03:01:28 +0000 (15:01 +1200)]
Fix T55775: Crash when select keyframe on object channels in Timeline editor

2 years agoCleanup: flag checks
Campbell Barton [Thu, 5 Jul 2018 20:56:18 +0000 (22:56 +0200)]
Cleanup: flag checks

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 5 Jul 2018 20:50:07 +0000 (22:50 +0200)]
Merge branch 'master' into blender2.8

2 years agoCleanup: flag checks
Campbell Barton [Thu, 5 Jul 2018 20:49:42 +0000 (22:49 +0200)]
Cleanup: flag checks

2 years agoMerge branch 'master' into blender2.8
Campbell Barton [Thu, 5 Jul 2018 20:46:04 +0000 (22:46 +0200)]
Merge branch 'master' into blender2.8

2 years agoRNA: correct callback type
Campbell Barton [Thu, 5 Jul 2018 20:25:34 +0000 (22:25 +0200)]
RNA: correct callback type

Missed when changing callbacks from int to bool type.

2 years agoRNA: use is_dirty prefix for checking updates
Campbell Barton [Thu, 5 Jul 2018 19:48:46 +0000 (21:48 +0200)]
RNA: use is_dirty prefix for checking updates

Common convention for read-only update checks