blender-staging.git
2 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

2 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.

2 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

2 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

2 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

2 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.

2 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

2 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!

2 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

2 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

2 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().

2 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

2 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.

2 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

2 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

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

2 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.

2 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

2 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

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

2 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

2 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

2 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

2 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

2 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.

2 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

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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

2 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.

2 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

2 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

2 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.

2 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.

2 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

2 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

2 years agoDepsgraph: Cleanup, remove unused function
Sergey Sharybin [Fri, 15 Dec 2017 16:47:15 +0000 (17:47 +0100)]
Depsgraph: Cleanup, remove unused function

2 years agoDepsgraph: Cleanup, make naming more understandable
Sergey Sharybin [Fri, 15 Dec 2017 16:46:30 +0000 (17:46 +0100)]
Depsgraph: Cleanup, make naming more understandable

2 years agoDepsgraph: Use array instead of set for node factory
Sergey Sharybin [Fri, 15 Dec 2017 16:42:07 +0000 (17:42 +0100)]
Depsgraph: Use array instead of set for node factory

Avoids extra time spent on hashing and such.

Old comment is kind of weird, because types we can totally make a sequent
integer values.

2 years agoDepsgraph: Add named constant with number of node types
Sergey Sharybin [Fri, 15 Dec 2017 16:39:01 +0000 (17:39 +0100)]
Depsgraph: Add named constant with number of node types

2 years agoDepsgraph: Don't use negative enum value
Sergey Sharybin [Fri, 15 Dec 2017 16:38:12 +0000 (17:38 +0100)]
Depsgraph: Don't use negative enum value

Not sure why it sohuld be negative, we shouldn't be using any explicit value
comparison.

2 years agomath utils: Add utilities to scan bit and clear it
Sergey Sharybin [Fri, 15 Dec 2017 15:41:31 +0000 (16:41 +0100)]
math utils: Add utilities to scan bit and clear it

2 years agoMath utils: Go away form naive code for highest_order_bit_uint
Sergey Sharybin [Fri, 15 Dec 2017 15:28:53 +0000 (16:28 +0100)]
Math utils: Go away form naive code for highest_order_bit_uint

2 years agoMath utils: Add bit scan operations
Sergey Sharybin [Fri, 15 Dec 2017 15:22:54 +0000 (16:22 +0100)]
Math utils: Add bit scan operations

2 years agoMath utils: Make it more clear what the functions are returning
Sergey Sharybin [Fri, 15 Dec 2017 15:17:37 +0000 (16:17 +0100)]
Math utils: Make it more clear what the functions are returning

2 years agoMath utils: Cleanup, use _uint suffix for function which operates on uint
Sergey Sharybin [Fri, 15 Dec 2017 15:16:22 +0000 (16:16 +0100)]
Math utils: Cleanup, use _uint suffix for function which operates on uint

2 years agoTracking: Cleanup, fix typo in variable name
Sebastian Koenig [Fri, 15 Dec 2017 12:53:44 +0000 (13:53 +0100)]
Tracking: Cleanup, fix typo in variable name

2 years agoTracking: Pass all markers to autotrack at once
Sergey Sharybin [Fri, 15 Dec 2017 11:51:53 +0000 (12:51 +0100)]
Tracking: Pass all markers to autotrack at once

This solves delay before tracking actually starts.

The issue is reported by Sebastian over IRC, thanks!

2 years agoLibmv: Add C-API function to set all markers within AutoTrack structure
Sergey Sharybin [Fri, 15 Dec 2017 11:51:17 +0000 (12:51 +0100)]
Libmv: Add C-API function to set all markers within AutoTrack structure

2 years agoTracking: Cleanup, make autotrack context creation code more granular
Sergey Sharybin [Fri, 15 Dec 2017 11:35:41 +0000 (12:35 +0100)]
Tracking: Cleanup, make autotrack context creation code more granular

2 years agoTracking: Cleanup, use more const qualifiers when appropriate
Sergey Sharybin [Fri, 15 Dec 2017 11:23:35 +0000 (12:23 +0100)]
Tracking: Cleanup, use more const qualifiers when appropriate

2 years agoMove ID recalc flags into dedicated field in ID
Sergey Sharybin [Fri, 15 Dec 2017 08:43:18 +0000 (09:43 +0100)]
Move ID recalc flags into dedicated field in ID

Currently this is a no-visible-changes change, but the idea is to use this
dedicated flag to tell which exact components of ID changed, make it more
granular than just OBJECT and OBJECT_DATA. Allow setting this field based
on what components new dependency graph flushed on evaluation.

2 years agoDNA: Add dedicated recalc flag to ID
Sergey Sharybin [Thu, 14 Dec 2017 14:12:05 +0000 (15:12 +0100)]
DNA: Add dedicated recalc flag to ID

Currently unused, but this is where LIB_TAG_ID_RECALC* flags will go.

Also modified other DNA to make pointer property being followed by pointer.
Makes it easier to keep track of alignment and extend nested structures without
ruining anything.

2 years agoFix missing update for particles w/ fluids
Campbell Barton [Thu, 14 Dec 2017 01:06:36 +0000 (12:06 +1100)]
Fix missing update for particles w/ fluids

D2955 by @GonVas

2 years agoFix T53322: Collada export crash w/ shape keys
Campbell Barton [Wed, 13 Dec 2017 23:41:39 +0000 (10:41 +1100)]
Fix T53322: Collada export crash w/ shape keys

D2958 by @cmbasnett

2 years agoFix T53550: E hotkey not working after the color-band picker commit
Ray Molenkamp [Wed, 13 Dec 2017 13:59:44 +0000 (06:59 -0700)]
Fix T53550: E hotkey not working after the color-band picker commit

Related to D2886, the color-band picker was lacking a poll function.

2 years agoDepsgraph: Cleanup, use less explicit checks of LIB_TAG_ID_RECALC_DATA
Sergey Sharybin [Wed, 13 Dec 2017 13:39:56 +0000 (14:39 +0100)]
Depsgraph: Cleanup, use less explicit checks of LIB_TAG_ID_RECALC_DATA

This is a part of ongoing work in Blender 2.8, where we need to replace

  `object->id.tag & LIB_TAG_ID_RECALC_DATA`

with

  `object->data->id.tag & LIB_TAG_ID_RECALC`

Should be no user measurable difference.

2 years agoFix T53404 - Python API documentation: UI Layout Emboss description wording
João Seixas [Wed, 13 Dec 2017 11:56:17 +0000 (12:56 +0100)]
Fix T53404 - Python API documentation: UI Layout Emboss description wording

Changed the suggested word

Reviewers: #documentation, #python, sergey

Reviewed By: #documentation, sergey

Tags: #documentation, #python

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

2 years agoFix T53547: Metaballs as dupli objects are not updated with the new Depsgraph
Sergey Sharybin [Wed, 13 Dec 2017 09:50:28 +0000 (10:50 +0100)]
Fix T53547: Metaballs as dupli objects are not updated with the new Depsgraph

Follow relations from old dependency graph.

2 years agoFix T53552: Unneeded particle cache reset on frame change
Sergey Sharybin [Wed, 13 Dec 2017 09:47:59 +0000 (10:47 +0100)]
Fix T53552: Unneeded particle cache reset on frame change

There shouldn't be a time dependency to cache reset operation.

2 years agoT53471: Fix crash with blender_icons_update.py
Troy Sobotka [Wed, 13 Dec 2017 05:54:45 +0000 (16:54 +1100)]
T53471: Fix crash with blender_icons_update.py

Default DPI of new inkscape caused incorrect image size.

2 years agoFix T53529: Rip crashes w/ wire edge
Campbell Barton [Wed, 13 Dec 2017 05:14:37 +0000 (16:14 +1100)]
Fix T53529: Rip crashes w/ wire edge

2 years agoUI: color-band eyedropper now combines samples
Campbell Barton [Wed, 13 Dec 2017 04:35:03 +0000 (15:35 +1100)]
UI: color-band eyedropper now combines samples

Resulting color-band was too noisy (especially with photos),
use gauss filter to take surrounding samples into account.

2 years agoFix bplayer (c).
Bastien Montagne [Tue, 12 Dec 2017 13:23:19 +0000 (14:23 +0100)]
Fix bplayer (c).

2 years agoRevert "Node selection: Stop operator when mouse selection selected a node"
Sergey Sharybin [Tue, 12 Dec 2017 09:34:38 +0000 (10:34 +0100)]
Revert "Node selection: Stop operator when mouse selection selected a node"

While re-route operator got fixed, node resize became broken.

This reverts commit 43f33ea30052b525b5cee5cea2a9e6431597660c.

2 years agoCleanup: split eyedropper into separate files
Campbell Barton [Tue, 12 Dec 2017 04:16:13 +0000 (15:16 +1100)]
Cleanup: split eyedropper into separate files

Each handles separate data-types and didn't share much logic,
better put each in it's own file.

2 years agoCleanup: minor edits to last commit
Campbell Barton [Tue, 12 Dec 2017 02:37:21 +0000 (13:37 +1100)]
Cleanup: minor edits to last commit

2 years agoUI: rewrite color-ramp re-sampling
Campbell Barton [Tue, 12 Dec 2017 02:14:23 +0000 (13:14 +1100)]
UI: rewrite color-ramp re-sampling

Instead of picking evenly spaced pixels color-ramp simplification
now works by removing elements with the lowest cost.

2 years agoAdd eyedropper to color-ramp widget
Ray Molenkamp [Mon, 11 Dec 2017 23:19:55 +0000 (10:19 +1100)]
Add eyedropper to color-ramp widget

D2886 by @LazyDodo with edit's by @campbellbarton

The line drawn with the eyedropper is used to fill the color-ramp.

2 years agoNode selection: Stop operator when mouse selection selected a node
Sergey Sharybin [Mon, 11 Dec 2017 16:38:47 +0000 (17:38 +0100)]
Node selection: Stop operator when mouse selection selected a node

Previously, hitting Shift-LMB will first invoke selection operator, which
then later on is transformed to mouse tweak used for reroute operator.

This was causing problems extending selection with Shift-LMB when clicking
fast or from a tablet.

2 years agoFix T53528: Empty thumbnails in filebrowser
Sergey Sharybin [Mon, 11 Dec 2017 14:47:12 +0000 (15:47 +0100)]
Fix T53528: Empty thumbnails in filebrowser

Bug in recent refactor.

2 years agoFix for inset when accessed from spacebar search
Campbell Barton [Mon, 11 Dec 2017 14:38:33 +0000 (01:38 +1100)]
Fix for inset when accessed from spacebar search

2 years agoCleanup: whitespace
Campbell Barton [Mon, 11 Dec 2017 08:28:40 +0000 (19:28 +1100)]
Cleanup: whitespace

2 years agoDNA/RNA: add 'py_instance' for ID types
Campbell Barton [Mon, 11 Dec 2017 07:37:54 +0000 (18:37 +1100)]
DNA/RNA: add 'py_instance' for ID types

Avoid creating new Python instances
every time a scene, object, mesh .. etc are accessed.

Also resolves crashes T28724, T53530
although it's only valid for ID types, not modifiers vertices etc.

Back-ported from blender2.8 branch.

2 years agoMSVC: Fix compiling with some system languages
Campbell Barton [Sun, 10 Dec 2017 04:12:31 +0000 (15:12 +1100)]
MSVC: Fix compiling with some system languages

Report from @cyaoeu that compiling failed for Japanese system language.

2 years agoFix T53512: Vertices with index 0 were not being selected
Germano [Fri, 8 Dec 2017 14:42:00 +0000 (12:42 -0200)]
Fix T53512: Vertices with index 0 were not being selected

Bug introduced on rB9f5bf197a0c3.
The offset for selection of vertices (`bm_vertoffs`) starts where the offset o edges ends (`bm_wireoffs`).
However, the `bm_wireoffs` depends on the offset of face selection (`bm_solidoffs`).

Before the commit that introduced the bug, the drawn of edges (in backbuff) was always computed along with the `bm_wireoffs`:
```
bm_wireoffs = bm_solidoffs + em->bm->totedge;
```

Now that the edges are not always drawn in backbuff, `bm_wireoffs` has to start from `bm_solidoffs`.

2 years agoCleanup: moar busting of nasty C++ keywords-as-varnames.
Bastien Montagne [Fri, 8 Dec 2017 13:50:45 +0000 (14:50 +0100)]
Cleanup: moar busting of nasty C++ keywords-as-varnames.

2 years agoCleanup: avoid using C++ keywords as variables, even in pure C code.
Bastien Montagne [Fri, 8 Dec 2017 13:36:07 +0000 (14:36 +0100)]
Cleanup: avoid using C++ keywords as variables, even in pure C code.

This tends to make some IDE unhappy (like QTCreator)...

2 years agoCycles: Fix difference in image Clip extension method between CPU and GPU
Sergey Sharybin [Fri, 8 Dec 2017 10:20:12 +0000 (11:20 +0100)]
Cycles: Fix difference in image Clip extension method between CPU and GPU

Our own implementation was behaving different comparing to OSL and GPU,
namely on the border pixels OSL and CUDA was doing interpolation with
black, but we were clamping coordinate.

This partially fixes issue reported in T53452.

Similar change should also be done for 3D interpolation perhaps, but this
is to be investigated separately.

2 years agoCycles: Cleanup, split 2D interpolation function
Sergey Sharybin [Thu, 7 Dec 2017 16:45:37 +0000 (17:45 +0100)]
Cycles: Cleanup, split 2D interpolation function

2 years agobl_app_override: support empty UI layout items
Campbell Barton [Fri, 8 Dec 2017 01:48:12 +0000 (12:48 +1100)]
bl_app_override: support empty UI layout items

Returning None from ui_ignore functions creates empty labels,
allows removing items without breaking layout in some cases.

2 years agoFix Collada building
Dalai Felinto [Thu, 7 Dec 2017 13:44:05 +0000 (11:44 -0200)]
Fix Collada building

Bug introduced in cc811d1fd634.

2 years agoFix T53419: Masking "Add" menu is not present in Image editor, but shortcut is
Sebastian Koenig [Thu, 7 Dec 2017 13:44:10 +0000 (14:44 +0100)]
Fix T53419: Masking "Add" menu is not present in Image editor, but shortcut is

2 years agoDPX/Cineon: Report orientation when running with --debug
Sergey Sharybin [Thu, 7 Dec 2017 13:37:59 +0000 (14:37 +0100)]
DPX/Cineon: Report orientation when running with --debug

2 years agoCMake: GREATER_EQUAL is from v3.7, use GREATER
Campbell Barton [Thu, 7 Dec 2017 13:19:35 +0000 (00:19 +1100)]
CMake: GREATER_EQUAL is from v3.7, use GREATER

2 years agoFix T53499: Cannot load DPX files
Sergey Sharybin [Thu, 7 Dec 2017 13:07:57 +0000 (14:07 +0100)]
Fix T53499: Cannot load DPX files

The issue was caused by unspecified color transfer. New behavior gives same
result as other viewers here, so likely is fine :)

2 years agoDPX: Fix wrong flag being checked for debug
Sergey Sharybin [Thu, 7 Dec 2017 13:04:12 +0000 (14:04 +0100)]
DPX: Fix wrong flag being checked for debug

2 years agoCleanup: Use BKE_colorband prefix
Campbell Barton [Thu, 7 Dec 2017 04:52:59 +0000 (15:52 +1100)]
Cleanup: Use BKE_colorband prefix

2 years agoCleanup: extract BKE_colorband from BKE_texture
Campbell Barton [Thu, 7 Dec 2017 04:36:26 +0000 (15:36 +1100)]
Cleanup: extract BKE_colorband from BKE_texture

2 years agoArray Modifier: option to offset UV's
Campbell Barton [Wed, 6 Dec 2017 17:33:52 +0000 (04:33 +1100)]
Array Modifier: option to offset UV's

D2912 by @Zuorion

2 years agoProposed fix for T53263 -- Blender crashes when rendering with Stabilizer 2D node...
Daniel Silva [Wed, 6 Dec 2017 13:53:21 +0000 (14:53 +0100)]
Proposed fix for T53263 -- Blender crashes when rendering with Stabilizer 2D node without movie selected

The program won't crash anymore, but a warning won't be displayed. Anyway, this gives the user the chance to save the project.

https://developer.blender.org/T53263

Reviewers: lukastoenne

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

2 years agoLibrary: Add flag top keep ID library pointer around
Sergey Sharybin [Wed, 6 Dec 2017 11:59:00 +0000 (12:59 +0100)]
Library: Add flag top keep ID library pointer around

This only applies to ID being copied outside of bmain. Handy for cases when it
is important to check if the copy corresponds to a data block coming from
library.

Example of that is proxy evaluation with copy on write.

Thanks Bastien for review!

2 years agoDepsgraph: Cleanup, use less geenric data type
Sergey Sharybin [Wed, 6 Dec 2017 11:26:10 +0000 (12:26 +0100)]
Depsgraph: Cleanup, use less geenric data type

2 years agoDepsgraph: Forgot this in previous commit
Sergey Sharybin [Wed, 6 Dec 2017 10:57:57 +0000 (11:57 +0100)]
Depsgraph: Forgot this in previous commit

2 years agoDepsgraph: Ignore text datablocks from nodes
Sergey Sharybin [Wed, 6 Dec 2017 10:54:52 +0000 (11:54 +0100)]
Depsgraph: Ignore text datablocks from nodes

Those are not part of dependency graph, but still could be referenced from
the tree.

2 years agoDepsgraph: Add missing bone properties to proxy rigs
Sergey Sharybin [Tue, 5 Dec 2017 16:34:11 +0000 (17:34 +0100)]
Depsgraph: Add missing bone properties to proxy rigs