Dalai Felinto
2ddee0ba5a
Fix dupli-frames (and other duplis)
...
Even non-group dupli objects need to get the overrides from somewhere.
Getting them from dupli_parent.
2017-12-15 07:14:25 -02:00
Dalai Felinto
569e29c49c
Fix RNA crash for objects without collection properties
...
This would happen if you tried to access the collection property for an object
that has not being evaluated by the depsgraph.
2017-12-14 20:17:27 -02:00
Germano
100e9aa15f
Draw Manager: Texture space support for Curve and Metaball objects
2017-12-14 17:53:27 -02:00
Bastien Montagne
c027be3189
Fix broken collada from recent merge rBb83b6afe5572ae29b4ad105dd8001c3343e2205b.
...
Please make minimal checks on what you do when merging!
2017-12-14 20:25:26 +01:00
Germano
aa1054acf8
Draw Manager: Edit Curve Mode: Fix "Not freed memory blocks"
...
`e_data.overlay_vert_sh` was not being freed when quitting blender.
2017-12-14 15:16:09 -02:00
Germano
06def089d3
Draw Manager: Recalculate batch of Curves, Surfaces and Texts when a property is changed
2017-12-14 14:44:20 -02:00
Germano
6b794565aa
Fix crash with DispLists without vertices
...
Wee must return VertBuffers even when its size is zero
2017-12-14 14:31:08 -02:00
Germano
14ac709455
Eevee: Support for objects of type Curve, Surface and Text
2017-12-14 12:22:55 -02:00
Germano
5b5de35604
Support for Batchs split by material for objects of type Curve, Surface, and Text
...
**ToDo:**
- add vertbuff for UV (what can be adapted from `dl_surf_to_renderdata`)
2017-12-14 12:21:38 -02:00
Sergey Sharybin
bb9d068ccc
Depsgraph: Cleanup, use more explicit way to fill in a structure
...
The possible issue with just listing arguments is that it might not be clear
what particular value is used for. For example, is it a scene itself, or is
it a parent scene?
Not as if it's not very clear now, but better be explicit for the future,
and me reading code in 10 years.
2017-12-14 11:09:18 +01:00
Campbell Barton
b83b6afe55
Merge branch 'master' into blender2.8
2017-12-14 12:51:26 +11:00
Campbell Barton
99b7dc60be
Fix missing update for particles w/ fluids
...
D2955 by @GonVas
2017-12-14 12:06:36 +11:00
Campbell Barton
1f95347882
Fix T53322: Collada export crash w/ shape keys
...
D2958 by @cmbasnett
2017-12-14 10:59:41 +11:00
Dalai Felinto
f59728b3ea
Object selection: Fixing cases where old selection flag was used
...
Basically these operators (select grouped object hooks and object select mode/less)
were not working in 2.8.
2017-12-13 16:26:46 -02:00
Dalai Felinto
53ea46d36c
Outliner: Fix selection drawing
...
Outliner was using the old selection flag to show selected objects.
So if you selected an object in the outliner it would keep "selected"
(drawn in yellow) even after you selected another object.
2017-12-13 16:26:46 -02:00
Sergey Sharybin
3a3587f4b2
Depsgraph: it is still possible to have non-object to use OB_RECALC_DATA tag
...
Those flags are to be redone...
2017-12-13 16:39:03 +01:00
Sergey Sharybin
09838ed24c
Comment out and tag unused bit as unused
2017-12-13 16:34:13 +01:00
Sergey Sharybin
33c97351fb
Depsgraph: Move data update tag to object->data itself
2017-12-13 16:32:08 +01:00
Sergey Sharybin
f97d036468
Depsgraph / Object update: Query data update flag from data itself
2017-12-13 16:27:05 +01:00
Sergey Sharybin
ac3d477481
RNA: Query is_updated flag from object data ID's rather than from object itself
2017-12-13 16:27:01 +01:00
Sergey Sharybin
84c5ccca74
Masks: Remove unused function
...
It was used by old dependency graph. New one does things differently.
2017-12-13 16:14:08 +01:00
Sergey Sharybin
405becec70
Comment out and tag unused bit as unused
2017-12-13 16:05:20 +01:00
Sergey Sharybin
92067f7cda
Depsgraph / Du[plication: Remove workaround flag from ID
...
Animation does no longer tag IDs as updated, so flag is not
needed anymore.
2017-12-13 15:56:18 +01:00
Sergey Sharybin
118178d176
Depsgraph / Animation: Rmove direct ID tagging from animation code
...
New dependency graph is supposed to have relation from animation node to
the node which corresponds to a property which is modified by that curve.
This means it is up to dependency graph to flush recalc flags, and no
manual control is needed in the animation code.
2017-12-13 15:53:04 +01:00
Sergey Sharybin
ec3d25803e
Merge branch 'master' into blender2.8
2017-12-13 15:07:42 +01:00
Ray Molenkamp
a621850224
Fix T53550: E hotkey not working after the color-band picker commit
...
Related to D2886, the color-band picker was lacking a poll function.
2017-12-13 07:00:16 -07:00
Sergey Sharybin
81f135677b
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.
2017-12-13 14:43:32 +01:00
Sergey Sharybin
3d6cc77cbd
Merge branch 'master' into blender2.8
2017-12-13 14:24:44 +01:00
Danrae Pray
32f85c8322
Fix T51461: Outliner: Problems removing multiple collections in sequence
...
We now select the LayerCollection at index 0 for the active ViewLayer after a
collection deletion operation.
Added some functions to query outliner tree data & get LayerCollection
by index using a similar approach as we do for SceneCollection indexing.
With warning and style cleanups by Dalai Felinto.
Reviewers: dfelinto
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D2942
2017-12-13 10:01:16 -02:00
João Seixas
4838512e7d
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
2017-12-13 12:56:38 +01:00
Sergey Sharybin
1b371d199e
Depsgraph: Ensure dependency graph is allocated for evaluation context
...
This is something what we would need to ensure anyway, so doesn't seem
to make sense to NOT allocate depsgraph and then worry about this externally.
Steps to reproduce: add cube, change it's size in redo panel.
Found by Campbell during code review session.
2017-12-13 12:55:39 +01:00
Bastien Montagne
ae80835d10
RNA override: Cleanup & small refactor.
...
Remove unused func from public API.
Make parameters & variables naming more consistent accross the code.
Move RNAproperty validation/'conversion' (for IDProps case) to upper
level in code, this will avoid some useless re-processing.
2017-12-13 12:46:25 +01:00
Sergey Sharybin
2ac33b47dc
Fix T53547: Metaballs as dupli objects are not updated with the new Depsgraph
...
Follow relations from old dependency graph.
2017-12-13 10:50:28 +01:00
Sergey Sharybin
2c64615438
Fix T53552: Unneeded particle cache reset on frame change
...
There shouldn't be a time dependency to cache reset operation.
2017-12-13 10:47:59 +01:00
Campbell Barton
be54868ec3
Fix T53529: Rip crashes w/ wire edge
2017-12-13 16:14:37 +11:00
Campbell Barton
611752ce33
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.
2017-12-13 15:38:11 +11:00
Bastien Montagne
52d33d6ab9
Merge branch 'master' into blender2.8
2017-12-12 18:00:36 +01:00
Bastien Montagne
ef8bbc8cba
Fix bplayer (c).
2017-12-12 14:23:19 +01:00
Campbell Barton
56f00db6c9
Correct error in recent merge
2017-12-12 23:19:41 +11:00
Sergey Sharybin
99069c8ae2
Revert "Node selection: Stop operator when mouse selection selected a node"
...
While re-route operator got fixed, node resize became broken.
This reverts commit 43f33ea300 .
2017-12-12 10:34:38 +01:00
Campbell Barton
edd39f6da7
Merge branch 'master' into blender2.8
2017-12-12 16:13:06 +11:00
Campbell Barton
b3c147a04f
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.
2017-12-12 15:44:59 +11:00
Campbell Barton
41fc0a0624
Merge branch 'master' into blender2.8
2017-12-12 13:55:09 +11:00
Campbell Barton
58aa31a9ec
Cleanup: minor edits to last commit
2017-12-12 13:37:21 +11:00
Campbell Barton
f7a1a1a700
UI: rewrite color-ramp re-sampling
...
Instead of picking evenly spaced pixels color-ramp simplification
now works by removing elements with the lowest cost.
2017-12-12 13:20:56 +11:00
Ray Molenkamp
7ae4c3a019
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.
2017-12-12 13:11:38 +11:00
Sergey Sharybin
43f33ea300
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.
2017-12-11 17:38:47 +01:00
Sergey Sharybin
7719f7d27a
Fix T53528: Empty thumbnails in filebrowser
...
Bug in recent refactor.
2017-12-11 15:47:52 +01:00
Campbell Barton
54f7bb4582
Fix for inset when accessed from spacebar search
2017-12-12 01:38:33 +11:00
Bastien Montagne
14655418d1
Add 'Add static override' to outliner's menus.
2017-12-11 12:07:13 +01:00