blender.git
4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 21 Dec 2017 11:17:48 +0000 (12:17 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Fix mistake in previous commit
Sergey Sharybin [Thu, 21 Dec 2017 11:16:12 +0000 (12:16 +0100)]
Depsgraph: Fix mistake in previous commit

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 21 Dec 2017 11:00:06 +0000 (12:00 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Remove confusing declaration of node method
Sergey Sharybin [Thu, 21 Dec 2017 10:58:48 +0000 (11:58 +0100)]
Depsgraph: Remove confusing declaration of node method

it is only to be implemented for operation node.

4 years agoDepsgraph: Remove one of temporary tags in the node
Sergey Sharybin [Thu, 21 Dec 2017 10:47:34 +0000 (11:47 +0100)]
Depsgraph: Remove one of temporary tags in the node

No real reason to have that, better to free up space for something much more
awesome!

4 years agoDepsgraph: Cleanup, move implementation away from header
Sergey Sharybin [Thu, 21 Dec 2017 10:33:50 +0000 (11:33 +0100)]
Depsgraph: Cleanup, move implementation away from header

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Thu, 21 Dec 2017 10:17:34 +0000 (11:17 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Remove evaluation priority completely
Sergey Sharybin [Thu, 21 Dec 2017 10:15:21 +0000 (11:15 +0100)]
Depsgraph: Remove evaluation priority completely

4 years agoDepsgraph: Remove eval priority from debugger
Sergey Sharybin [Thu, 21 Dec 2017 10:13:22 +0000 (11:13 +0100)]
Depsgraph: Remove eval priority from debugger

This needs to be redone anyway, to correspond to possibly new priorities
calculated for evaluaiton.

4 years agoDepsgraph: Remove unused component context functions
Sergey Sharybin [Thu, 21 Dec 2017 09:37:00 +0000 (10:37 +0100)]
Depsgraph: Remove unused component context functions

4 years agoFix for T53599: OpenGL render with transparent background
Dalai Felinto [Wed, 20 Dec 2017 17:28:12 +0000 (15:28 -0200)]
Fix for T53599: OpenGL render with transparent background

I had to make Eevee draw its scene in the scene pass (before it was doing it
in the background pass). This is not ideal since reference images require
a separation between scene and background.

But it's the best way to solve it now. Clay is working fine.

4 years agoDepsgraph: Remove node class stored in both type info and node
Sergey Sharybin [Wed, 20 Dec 2017 16:54:52 +0000 (17:54 +0100)]
Depsgraph: Remove node class stored in both type info and node

This is something deliver form node type, there is no reason to try cache it
anywhere, especially since it's not used in any performance critical code.

Lighter weight dependency graph is what we want.

4 years agoCycles: Cleanup, indentation
Sergey Sharybin [Wed, 20 Dec 2017 16:42:50 +0000 (17:42 +0100)]
Cycles: Cleanup, indentation

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 20 Dec 2017 15:46:28 +0000 (16:46 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Remove unused incldues
Sergey Sharybin [Wed, 20 Dec 2017 15:45:10 +0000 (16:45 +0100)]
Depsgraph: Remove unused incldues

4 years agoFix compilaiton error in debug mode
Sergey Sharybin [Wed, 20 Dec 2017 15:41:51 +0000 (16:41 +0100)]
Fix compilaiton error in debug mode

The structure was just calloc-ed, no need to check for anything. It's all zeroes!

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Wed, 20 Dec 2017 15:40:49 +0000 (16:40 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Move ID node to own file
Sergey Sharybin [Wed, 20 Dec 2017 15:35:48 +0000 (16:35 +0100)]
Depsgraph: Move ID node to own file

4 years agoDepsgraph: Move time source node to own file
Sergey Sharybin [Wed, 20 Dec 2017 15:27:08 +0000 (16:27 +0100)]
Depsgraph: Move time source node to own file

4 years agoDepsgraph: Print some statistics about transitive reduction
Sergey Sharybin [Wed, 20 Dec 2017 15:19:40 +0000 (16:19 +0100)]
Depsgraph: Print some statistics about transitive reduction

4 years agoDepsgraph: Make transitive reduction to work
Sergey Sharybin [Wed, 20 Dec 2017 15:16:28 +0000 (16:16 +0100)]
Depsgraph: Make transitive reduction to work

4 years agoDepsgraph: Add utility function to unlink relation from graph
Sergey Sharybin [Wed, 20 Dec 2017 15:15:55 +0000 (16:15 +0100)]
Depsgraph: Add utility function to unlink relation from graph

4 years agoDepsgraph: Remove unused priority calculator
Sergey Sharybin [Wed, 20 Dec 2017 14:51:59 +0000 (15:51 +0100)]
Depsgraph: Remove unused priority calculator

While it sounds useful, in practice it was rather causing
extra overhead and was slowing things down.

4 years agoDepsgraph: Remove remaining parts of old removed debugger
Sergey Sharybin [Wed, 20 Dec 2017 14:50:22 +0000 (15:50 +0100)]
Depsgraph: Remove remaining parts of old removed debugger

4 years agoFix T53572: Alembic imports UV maps incorrectly
Martin Felke [Wed, 20 Dec 2017 09:30:39 +0000 (10:30 +0100)]
Fix T53572: Alembic imports UV maps incorrectly

Since in Alembic the loop order seems to be reversed when exporting and
importing, and this was the only place where it was not, I was thinking
to match this to the convention of reversing the loop order as well.

Reviewers: sybren, kevindietrich

Tags: #alembic

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

4 years agoFix MSVSC2017 error
Antonio Vazquez [Wed, 20 Dec 2017 09:23:12 +0000 (10:23 +0100)]
Fix MSVSC2017 error

The last compiler version needs this include

4 years agoCleanup: remove unnecessary tooltip line limit
Campbell Barton [Wed, 20 Dec 2017 06:20:33 +0000 (17:20 +1100)]
Cleanup: remove unnecessary tooltip line limit

Also add TODO for possible future changes.

4 years agoManipulator: clear tooltip for click actions too
Campbell Barton [Wed, 20 Dec 2017 06:13:54 +0000 (17:13 +1100)]
Manipulator: clear tooltip for click actions too

4 years agoManipulator: tooltip support
Campbell Barton [Wed, 20 Dec 2017 05:40:53 +0000 (16:40 +1100)]
Manipulator: tooltip support

Currently operators and properties are used.

4 years agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 20 Dec 2017 04:06:22 +0000 (15:06 +1100)]
Merge branch 'master' into blender2.8

4 years agoUI: move tooltip API to public header
Campbell Barton [Wed, 20 Dec 2017 03:50:39 +0000 (14:50 +1100)]
UI: move tooltip API to public header

4 years agoFix crash in RNA when accessing empty property_tags list
Julian Eisel [Tue, 19 Dec 2017 19:53:19 +0000 (20:53 +0100)]
Fix crash in RNA when accessing empty property_tags list

E.g. running `bpy.context.active_object.cycles.bl_rna.property` in the
console would crash.

Thanks @lijenstina for reporting!

4 years agoFix T53442: Outliner refresh issues when adding new collection
Dalai Felinto [Tue, 19 Dec 2017 16:29:44 +0000 (14:29 -0200)]
Fix T53442: Outliner refresh issues when adding new collection

Notifier is getting through, yet tree wasn't rebuilding until
we force redraw by resizing the outliner.

Thanks to Danrae Pray (@spockTheGray) for looking at this issue.

4 years agobpy_extras: add missing colorband keymap to keyconfig_utils.py
Ray Molenkamp [Tue, 19 Dec 2017 15:04:17 +0000 (08:04 -0700)]
bpy_extras: add missing colorband keymap to keyconfig_utils.py

fixes failing ctest script_load_keymap

4 years agoFont objects: Support proper auto-space
Sergey Sharybin [Tue, 19 Dec 2017 14:08:29 +0000 (15:08 +0100)]
Font objects: Support proper auto-space

Annoyingly, need to convert vfont to nurbs, do minmax and toss nurbs away.
This is likely to be fine, since this function is not intended to be used
a lot, and this is the only way to get more meaningful result.

However, it's not very clear what to do with font on curve.

This fixes rendering of font object with auto texture space in Cycles
introduced in c34f3c7.

It is probably possible to introduce new mode to vfont_to_curve which
will do boundbox without extra allocations, but that's more like an
optimization.

Reviewers: campbellbarton, mano-wii

Reviewed By: campbellbarton

Subscribers: zeauro

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

4 years agoCycles: Fix crash opening user preferences after adding extra GPU
Sergey Sharybin [Tue, 19 Dec 2017 14:51:28 +0000 (15:51 +0100)]
Cycles: Fix crash opening user preferences after adding extra GPU

We can not store pointers to elements of collection property in the
case we modify that collection. This is like storing pointers to
elements of array before calling realloc().

4 years agoFix T53583: Crash when instancing a group with an armature
Dalai Felinto [Tue, 19 Dec 2017 12:36:14 +0000 (10:36 -0200)]
Fix T53583: Crash when instancing a group with an armature

There is still a crash that you get because the draw manager needs to
handle duplis differently.

But the initial assert caused by this particular file is now fixed.

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 19 Dec 2017 12:42:01 +0000 (13:42 +0100)]
Merge branch 'master' into blender2.8

4 years agoTracking: Add missing animation path fix after renaming tracks
Sergey Sharybin [Tue, 19 Dec 2017 12:39:37 +0000 (13:39 +0100)]
Tracking: Add missing animation path fix after renaming tracks

4 years agoTracking: Add utility function to get RNA path prefix for given track
Sergey Sharybin [Tue, 19 Dec 2017 12:09:39 +0000 (13:09 +0100)]
Tracking: Add utility function to get RNA path prefix for given track

Some code could be de-duplicated with the full path case, but that's
for another rainy day i guess.

4 years agoTracking: Disable animation of auto-keyframe option
Sergey Sharybin [Tue, 19 Dec 2017 11:59:52 +0000 (12:59 +0100)]
Tracking: Disable animation of auto-keyframe option

4 years agoTracking: Add missing animation fix when deleting plane track
Sergey Sharybin [Tue, 19 Dec 2017 11:58:42 +0000 (12:58 +0100)]
Tracking: Add missing animation fix when deleting plane track

4 years agoTracking: Fix possible numerical overflow
Sergey Sharybin [Tue, 19 Dec 2017 11:52:20 +0000 (12:52 +0100)]
Tracking: Fix possible numerical overflow

4 years agoFix T53523: Keyframes for Marker weight stay, even if the track itself is deleted
Sergey Sharybin [Tue, 19 Dec 2017 11:51:45 +0000 (12:51 +0100)]
Fix T53523: Keyframes for Marker weight stay, even if the track itself is deleted

Was using wrong prefix for the RNA path fix.

4 years agoTracking: Use new RNA path utility functions
Sergey Sharybin [Tue, 19 Dec 2017 11:48:53 +0000 (12:48 +0100)]
Tracking: Use new RNA path utility functions

4 years agoTracking: Add utility function to get RNA path for given track
Sergey Sharybin [Tue, 19 Dec 2017 11:45:23 +0000 (12:45 +0100)]
Tracking: Add utility function to get RNA path for given track

4 years agoDepsgraph: Fix nexted node trees being tagged with wrong flag
Sergey Sharybin [Tue, 19 Dec 2017 11:37:57 +0000 (12:37 +0100)]
Depsgraph: Fix nexted node trees being tagged with wrong flag

4 years agoTracking: Remove duplicated functions
Sergey Sharybin [Tue, 19 Dec 2017 11:22:34 +0000 (12:22 +0100)]
Tracking: Remove duplicated functions

4 years agoTracking: Add plane tracks equivalents to previous commit
Sergey Sharybin [Tue, 19 Dec 2017 11:18:52 +0000 (12:18 +0100)]
Tracking: Add plane tracks equivalents to previous commit

4 years agoTracking: Add utility function to get tracks list for given track
Sergey Sharybin [Tue, 19 Dec 2017 11:14:26 +0000 (12:14 +0100)]
Tracking: Add utility function to get tracks list for given track

4 years agoTracking: Add utility function to find tracking object from a given track
Sergey Sharybin [Tue, 19 Dec 2017 11:10:42 +0000 (12:10 +0100)]
Tracking: Add utility function to find tracking object from a given track

4 years agoCleanup: Don't use camel case for variable names
Sergey Sharybin [Tue, 19 Dec 2017 10:53:11 +0000 (11:53 +0100)]
Cleanup: Don't use camel case for variable names

4 years agoFix T53400: DEG tagging is freeing Irradiance Grid when selecting objects
Sergey Sharybin [Tue, 19 Dec 2017 10:46:53 +0000 (11:46 +0100)]
Fix T53400: DEG tagging is freeing Irradiance Grid when selecting objects

Ignore selection related recalc in Eevee ID update callback.

4 years agoDepsgraph: Rework tagging and flushing routines
Sergey Sharybin [Tue, 19 Dec 2017 10:24:34 +0000 (11:24 +0100)]
Depsgraph: Rework tagging and flushing routines

The goal is: have id->recalc flags set to components which got changed.
To make it possible for render engines to check on a more granular basis
what changed in the object. For example, is it a transform which changed
or is it just some ID property changed which has nothing to do with rendering.

The tricky part is: we don't want duplicated logic in tagging and flushing.
In order to avoid this duplication, we store ID recalc flag in the component
node type information. That type information could easily be accessed by both
tagging and flushing routines.

Remaining part of the changes are related on changing the way how tagging
works. The new idea here is to have utility function which maps update tag to
a component. This way we can easily set ID recalc flags right away. Without
any duplication of ID recalc flags set in multiple flag handler functions.

With all this being said, there should be no user measurable difference for
now, it's a gigantic basement for some upcoming work and fixes.

4 years agoDepsgraph: Preliminary work to make components to ID recalc flags
Sergey Sharybin [Tue, 19 Dec 2017 09:14:18 +0000 (10:14 +0100)]
Depsgraph: Preliminary work to make components to ID recalc flags

4 years agoAdd more granular ID recalc bits
Sergey Sharybin [Tue, 19 Dec 2017 09:11:00 +0000 (10:11 +0100)]
Add more granular ID recalc bits

Only bits for now, unused. Just to keep upcoming patches smaller.

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 19 Dec 2017 09:05:04 +0000 (10:05 +0100)]
Merge branch 'master' into blender2.8

4 years agoFix T53559: Auto texture space for text and font is wrong in Cycles
Sergey Sharybin [Tue, 19 Dec 2017 09:01:00 +0000 (10:01 +0100)]
Fix T53559: Auto texture space for text and font is wrong in Cycles

The issue actually goes a bit deeper, converting curve to mesh will
change texture space just because font and bezier curves are using CV
to calculate texture space.

So now when those objects are converted to mesh, we disable auto
texture space and copy evaluated space over.

4 years agoCycles tests: Enable texture space tests
Sergey Sharybin [Tue, 19 Dec 2017 08:50:55 +0000 (09:50 +0100)]
Cycles tests: Enable texture space tests

4 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 19 Dec 2017 08:42:11 +0000 (19:42 +1100)]
Merge branch 'master' into blender2.8

4 years agoUI: split out button checks from tooltip creation
Campbell Barton [Tue, 19 Dec 2017 08:30:05 +0000 (19:30 +1100)]
UI: split out button checks from tooltip creation

Allows to make tooltips from other kinds of data.

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Tue, 19 Dec 2017 07:57:34 +0000 (08:57 +0100)]
Merge branch 'master' into blender2.8

4 years agoFix T53547 for real now
Sergey Sharybin [Tue, 19 Dec 2017 07:56:11 +0000 (08:56 +0100)]
Fix T53547 for real now

Original fix was assuming that particle init operation is updated on every
frame, which is wrong behavior and that was fixed in previous commit to the
original bugfix.

4 years agoManipulator: ui-scale support for navigate widget
Campbell Barton [Tue, 19 Dec 2017 06:14:52 +0000 (17:14 +1100)]
Manipulator: ui-scale support for navigate widget

4 years agoManipulator: 3D view navigation improvements
Campbell Barton [Tue, 19 Dec 2017 04:20:05 +0000 (15:20 +1100)]
Manipulator: 3D view navigation improvements

- Highlight's were too intense/distracting
  use more subtle alpha (consistent with the rest of our UI).
- Don't fill center cube (only draw edges).
- Draw widget while interacting since this is helpful in some cases.

Thanks to @jbakker for suggestions.

Also change axis hotspots so the nearest is always selected
for quicker axis picking (relies on dragging any axis to orbit).

4 years agoCorrect axis mapping logic
Campbell Barton [Tue, 19 Dec 2017 03:36:22 +0000 (14:36 +1100)]
Correct axis mapping logic

4 years agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 19 Dec 2017 03:15:19 +0000 (14:15 +1100)]
Merge branch 'master' into blender2.8

4 years ago3D View: use shortest angle between quaternions
Campbell Barton [Tue, 19 Dec 2017 03:05:54 +0000 (14:05 +1100)]
3D View: use shortest angle between quaternions

Gave incorrect smoothview speed changing between some axis and
axis locking.

4 years agoMath Lib: signed versions of quaternion angle
Campbell Barton [Tue, 19 Dec 2017 02:59:18 +0000 (13:59 +1100)]
Math Lib: signed versions of quaternion angle

There was no simple way to get the shortest quaternion angle.

4 years agoManipulator: Support click only manipulator's
Campbell Barton [Tue, 19 Dec 2017 01:31:40 +0000 (12:31 +1100)]
Manipulator: Support click only manipulator's

Makes the 3D view navigation widget easier to use: dragging anywhere
in the rotation region now rotates without having to avoid the XYZ axis
hotspots which only activate on a single click.

Logic for drag detection is complicated by manipulators reliance
on keeping the modal operator running.
Currently this is wrapped in an ifdef,
we may want to implement it differently later.

4 years agoManipulaor: de-duplicate finish call
Campbell Barton [Mon, 18 Dec 2017 05:06:32 +0000 (16:06 +1100)]
Manipulaor: de-duplicate finish call

4 years agoForgotten on last commit
Germano [Tue, 19 Dec 2017 01:24:12 +0000 (23:24 -0200)]
Forgotten on last commit

4 years agoDraw Manager: draw_cache_imp_displist, always return IndexBuf even when there is...
Germano [Tue, 19 Dec 2017 01:17:55 +0000 (23:17 -0200)]
Draw Manager: draw_cache_imp_displist, always return IndexBuf even when there is no index

This prevents possible errors with materials and a crash with low resolution metaball.
Also a small cleanup was done in the code.

4 years agoFix T53474, bevel glitchy with big objects.
Howard Trickey [Mon, 18 Dec 2017 17:24:42 +0000 (12:24 -0500)]
Fix T53474, bevel glitchy with big objects.

A comparison should have not just have been against an epsilon,
but relative to the edge length involved.
Thanks to mano-wii for patch on which this is based.

4 years agoDepsgraph: Cleanup, line length
Sergey Sharybin [Mon, 18 Dec 2017 15:55:04 +0000 (16:55 +0100)]
Depsgraph: Cleanup, line length

4 years agoDepsgraph: Use named typedef for tag
Sergey Sharybin [Mon, 18 Dec 2017 15:53:12 +0000 (16:53 +0100)]
Depsgraph: Use named typedef for tag

4 years agoDepsgraph: Cleanup, typo in comment
Sergey Sharybin [Mon, 18 Dec 2017 15:52:33 +0000 (16:52 +0100)]
Depsgraph: Cleanup, typo in comment

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 18 Dec 2017 15:50:21 +0000 (16:50 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Add facilities to store what ID recalc flag component corresponds to
Sergey Sharybin [Mon, 18 Dec 2017 15:46:32 +0000 (16:46 +0100)]
Depsgraph: Add facilities to store what ID recalc flag component corresponds to

The idea is to de-duplicate logic in DEG_id_tag_update() and flushing where we
need to translate depsgraph tag or component type to ID level recalc flag.

Currently unused, but is required for Blender 2.8.

4 years agoAdd dedicated named constant for no ID recalc flag
Sergey Sharybin [Mon, 18 Dec 2017 15:40:18 +0000 (16:40 +0100)]
Add dedicated named constant for no ID recalc flag

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 18 Dec 2017 15:36:23 +0000 (16:36 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Synchronize flushing with 2.8 branch
Sergey Sharybin [Mon, 18 Dec 2017 15:33:12 +0000 (16:33 +0100)]
Depsgraph: Synchronize flushing with 2.8 branch

Not only this helps merges form master to the branch, but also:

- Allows us to production-check changes as soon as possible.
- Avoids some unnecessary editors update about ID changes.
- Adds small optimization on queue size by always keeping one of the pointers
  outside of the queue.

4 years agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 18 Dec 2017 15:19:12 +0000 (16:19 +0100)]
Merge branch 'master' into blender2.8

4 years agoDepsgraph: Add query API to traverse all dependent IDs of the given ID
Sergey Sharybin [Fri, 1 Dec 2017 10:35:36 +0000 (11:35 +0100)]
Depsgraph: Add query API to traverse all dependent IDs of the given ID

4 years agoDepsgraph: Replace iteration over ghash with iteration over flat array
Sergey Sharybin [Wed, 8 Nov 2017 13:48:25 +0000 (14:48 +0100)]
Depsgraph: Replace iteration over ghash with iteration over flat array

4 years agoDepsgraph: Introduce flat list of ID nodes
Sergey Sharybin [Wed, 8 Nov 2017 13:29:58 +0000 (14:29 +0100)]
Depsgraph: Introduce flat list of ID nodes

The idea is to allow iterating over ID nodes in exact order of their
construction, and in order which will not change dependent on memory
pointers or anything.

4 years agoFix bad merge happened at some point
Sergey Sharybin [Mon, 18 Dec 2017 15:04:06 +0000 (16:04 +0100)]
Fix bad merge happened at some point

4 years agoFix T53398: Surface deform modifier says that convex polygons are concave for big...
Sergey Sharybin [Mon, 18 Dec 2017 14:16:22 +0000 (15:16 +0100)]
Fix T53398: Surface deform modifier says that convex polygons are concave for big faces

Dot-product for angle check need either to be divided by vectors magnitude or be
calculated for normalized vectors.

4 years agoStatic Override: better handling in ID template.
Bastien Montagne [Mon, 18 Dec 2017 11:29:08 +0000 (12:29 +0100)]
Static Override: better handling in ID template.

Now we stick to a single button, when data is directly linked, clicking
on it will make a local copy, while shift-clicking on it will make a
static override.

When data is a static override, icon is the DATA_OVERRIDE one, and clicking
on the button will make it a fully borring local data-block.

4 years agoAdd override icon to such data-blocks in OUtliner.
Bastien Montagne [Mon, 18 Dec 2017 11:02:23 +0000 (12:02 +0100)]
Add override icon to such data-blocks in OUtliner.

4 years agoAdd macros to check whether an ID is a static override or has a template for it.
Bastien Montagne [Mon, 18 Dec 2017 11:01:50 +0000 (12:01 +0100)]
Add macros to check whether an ID is a static override or has a template for it.

4 years agoblender_icons_update script: run Blender in factory startup.
Bastien Montagne [Mon, 18 Dec 2017 09:47:02 +0000 (10:47 +0100)]
blender_icons_update script: run Blender in factory startup.

Can avoid some stupid issues with custom addons etc.

4 years agoAdd basic 'override' icon.
Bastien Montagne [Mon, 18 Dec 2017 09:44:20 +0000 (10:44 +0100)]
Add basic 'override' icon.

This is just the 'linked' icon with top-down arrow instead of left-right
one, if any graphist feels more inspired... ;)

Note that this is 'new inkscape' version of the svg file, hope
everything is alright (it does change all icons whe re-exporting :/ ).

4 years agoSerious cleanup/refactor/fixing of new RNA comparison code.
Bastien Montagne [Mon, 18 Dec 2017 09:13:43 +0000 (10:13 +0100)]
Serious cleanup/refactor/fixing of new RNA comparison code.

Code also handling auto-generation of static overrides.

Aside from some naming consistency cleanup, this commit:

* Is the first step addressing the 'operator' issue with static
overrides, by implementing a first version of the 'restore from
reference' behavior.

* Fixes several issues that were discovered on the way in enhanced
RNA comparision code, like the 'zero-length dynamic array' case, or some
infinite looping caused by some non-ID pointers (that for some
mysterious reasons did not show up previously...).

* Factorizes a bit said RNA comparison code (auto-static override
generation and comparison/check were essentially doing the same thing).

4 years agoRNA: add new property falg for pointers (and collection), 'NO_OWNERSHIP'.
Bastien Montagne [Mon, 18 Dec 2017 09:08:22 +0000 (10:08 +0100)]
RNA: add new property falg for pointers (and collection), 'NO_OWNERSHIP'.

This flag means that the pointer does not 'own' the data it references.
This is the case of nearly all ID RNA pointers (NodeTrees will probably
again be some nasty exception here :( ), but also several other cases.

That kind of information is mandatory for complex processing over whole
data-blocks done in RNA, like some static override tasks (advanced
comparison...).

4 years agoFix T53577: Rake sculpt/paint wrong on first step
Campbell Barton [Mon, 18 Dec 2017 03:35:15 +0000 (14:35 +1100)]
Fix T53577: Rake sculpt/paint wrong on first step

4 years agoFix triangles indexbuf of Curve Displists was being discarded incorrectly
Germano [Sun, 17 Dec 2017 00:22:21 +0000 (22:22 -0200)]
Fix triangles indexbuf of Curve Displists was being discarded incorrectly

They were discarded when shaded surfaces were requested thus bringing glitches to the outline of the selected Displists Objects

4 years agoFix triangles of the Displists were being drawn in the opposite direction
Germano [Sat, 16 Dec 2017 23:58:16 +0000 (21:58 -0200)]
Fix triangles of the Displists were being drawn in the opposite direction

4 years agoCMake: bump minimum version to 3.5
Campbell Barton [Sat, 16 Dec 2017 14:04:05 +0000 (01:04 +1100)]
CMake: bump minimum version to 3.5

4 years agoManipulator: change cursor for navigation axis
Campbell Barton [Sat, 16 Dec 2017 08:28:07 +0000 (19:28 +1100)]
Manipulator: change cursor for navigation axis

Wasn't easy to see