Sergey Sharybin
031f4ce8a6
Depsgraph: Use new scene update API in preview render
2017-11-06 09:24:23 +01:00
Sergey Sharybin
5af1c89269
Depsgraph: Make graph to be per-scene-layer for RNA
...
New access is C.scene.render_layers.active.depsgraph. This will give depsgraph
for a given layer. In the future there will need to be some extra context to be
passed.
2017-11-06 09:24:23 +01:00
Sergey Sharybin
dd79cd189b
Depsgraph: Cleanup, remove depgraph_legacy from evaluation routines
2017-11-06 09:24:23 +01:00
Sergey Sharybin
1b40243316
Depsgraph: Cleanup, remove depsgraph_legacy from building routines
2017-11-06 09:24:23 +01:00
Sergey Sharybin
3330e518dc
Depsgraph: Cleanup, remove unused function
2017-11-06 09:24:23 +01:00
Sergey Sharybin
17395b6b08
Depsgraph: Cleanup, remove depsgraph_legacy from depsgraph_tag.cc
2017-11-06 09:24:23 +01:00
Sergey Sharybin
f867a560d9
Depsgraph: Avoid non-requested allocation of depsgraph
2017-11-06 09:24:23 +01:00
Campbell Barton
58dc114615
Merge branch 'master' into blender2.8
2017-11-06 00:12:28 +11:00
Campbell Barton
18d7fbe4f5
Cleanup: order buffer length after the buffer
2017-11-06 00:04:46 +11:00
Campbell Barton
2837a7e198
Cleanup: remove paranoid NULL check
2017-11-05 23:34:40 +11:00
Campbell Barton
43f3cfd584
Cleanup: spelling
2017-11-05 14:33:18 +11:00
Campbell Barton
fbfda21fe4
UI: show tool-tips for each tools shortcuts
2017-11-05 01:29:52 +11:00
Campbell Barton
d4fe083b35
Merge branch 'master' into blender2.8
2017-11-04 21:45:52 +11:00
Campbell Barton
01a3c95609
UI: tool-tip refactor, don't hard code field types
...
Allow other kinds of tips be created w/o exceeding hard limits.
2017-11-04 21:15:18 +11:00
Campbell Barton
25f56d7a7b
UI: correct flag re-use
...
Adding ability to show a button as pressed w/o UI_SELECT set caused
other flags to be cleared that shouldn't have been.
2017-11-04 14:13:04 +11:00
Sergey Sharybin
10024603ee
Scene API: Switch to explicit scene graph update API
...
This is part of lets-get-rid-of-scene->legacy_depsgraph work
2017-11-03 16:35:12 +01:00
Sergey Sharybin
c4501ccb17
Merge branch 'master' into blender2.8
2017-11-03 16:31:53 +01:00
Sergey Sharybin
6664ee209e
Scene RNA API: More global mains goes away
2017-11-03 16:28:37 +01:00
Sergey Sharybin
0c4f69a2bf
Merge branch 'master' into blender2.8
2017-11-03 16:17:01 +01:00
Sergey Sharybin
f1c78ecc63
Scene RNA API: Main from globals goes away
...
Bye bye..
2017-11-03 16:15:49 +01:00
Sergey Sharybin
f24103d50a
Depsgraph: Use explicit depsgraph in object add
2017-11-03 15:46:12 +01:00
Sergey Sharybin
0ba0993f18
Depsgraph: Port more areas to direct depsgraph API
...
This is a lots of changes, but they are boiling down to a simple API
changes where we are no longer relying on implicit usage of scene's
depsgraph and pass depsgraph explicitly.
There should be no user measurable difference, render_layer* tests
are also passing.
2017-11-03 14:36:49 +01:00
Sergey Sharybin
95ccaed9e6
Depsgraph: Use explicit graph API in transform code
2017-11-03 14:05:49 +01:00
Sergey Sharybin
57ec215677
Depsgraph: Add utility function to tag ID for update within a specific graph
2017-11-03 12:10:04 +01:00
Sergey Sharybin
e72dfee66f
Depsgraph: Use explicit depsgraph in alembic module
2017-11-03 12:02:39 +01:00
Campbell Barton
3a7a7ed03b
Merge branch 'master' into blender2.8
2017-11-03 21:22:27 +11:00
Campbell Barton
cd4f925f56
Merge branch 'master' into blender2.8
2017-11-03 20:59:15 +11:00
Campbell Barton
2a87bd8995
Cleanup: split interface_regions.c
...
Each region type is quite separate and file was getting too big.
2017-11-03 20:57:09 +11:00
Campbell Barton
d19d094ca9
Fix incorrect allocation size
2017-11-03 20:52:04 +11:00
Jens Verwiebe
fbb9b70484
Fix Blenderplayer (tm)
2017-11-03 00:39:50 +01:00
Sergey Sharybin
1555cf758f
Freestyle: Fix access freed memory when freeing fresstyle bmain
...
Some of the uninitializaiton code was leaving bases pointing freed memory.
2017-11-02 17:58:59 +01:00
Sergey Sharybin
e0a6582b40
Fix iterator usage from C++ code
...
Old code was not supported by GCC, see some details and progress
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
2017-11-02 17:58:59 +01:00
Sergey Sharybin
d967a83f49
Freestyle: Keep lines on manageable complexity
...
Two level;s of casts in a single line, c'mon.
2017-11-02 17:58:59 +01:00
Brecht Van Lommel
50c129760d
Fix Cycles showing empty tiles while they are being denoised.
2017-11-02 15:23:55 +01:00
Campbell Barton
c1da6c9d7d
Merge branch 'master' into blender2.8
2017-11-03 01:16:10 +11:00
Campbell Barton
25f2abf314
Cleanup: minor comment correction
2017-11-03 01:10:03 +11:00
Campbell Barton
9ece0ee5fe
UI: add UI_SELECT_DRAW flag
...
Allow to draw as pressed w/o interfering with behavior.
Resolves issue where buttons raised on mouse-over.
2017-11-03 00:47:51 +11:00
Sybren A. Stüvel
f7d59fbc46
Merge branch 'master' into blender2.8
...
# Conflicts:
# tests/gtests/alembic/abc_export_test.cc
2017-11-02 14:37:10 +01:00
Campbell Barton
7eb4ef6cac
Merge branch 'master' into blender2.8
2017-11-03 00:31:47 +11:00
Brecht Van Lommel
ff97dcebf3
Fix T53182: cancelling save buffers + denoising render clears image.
2017-11-02 14:31:05 +01:00
Campbell Barton
6355d98267
UI: free up bit in uiBut.flag
2017-11-03 00:27:29 +11:00
Campbell Barton
90788adb66
UI: workaround glitch refreshing the toolbar
2017-11-02 23:52:03 +11:00
Campbell Barton
75490adaff
UI: draw operator menus below buttons
...
Following the down arrow on the buttons
2017-11-02 23:43:51 +11:00
Campbell Barton
1ca3e1a91d
UI: support nested tools in toolbar
2017-11-02 23:05:13 +11:00
Campbell Barton
08141260ff
Merge branch 'master' into blender2.8
2017-11-02 18:25:47 +11:00
Campbell Barton
e32c1bd5d0
UI: use button_operator in operator_menu_hold
...
Move draw calls into UI_menutype_draw
2017-11-02 18:21:59 +11:00
Campbell Barton
4a85089abe
Merge branch 'master' into blender2.8
2017-11-02 15:45:19 +11:00
Campbell Barton
765e28948e
Cleanup: code style
2017-11-02 15:09:11 +11:00
Alexander Gavrilov
8bdc391c54
Implement a new automatic handle algorithm to produce smooth F-Curves.
...
The legacy algorithm only considers two adjacent points when computing
the bezier handles, which cannot produce satisfactory results. Animators
are often forced to manually adjust all curves.
The new approach instead solves a system of equations to trace a cubic spline
with continuous second derivative through the whole segment of auto points,
delimited at ends by keyframes with handles set by other requirements.
This algorithm also adjusts Vector handles that face ordinary bezier keyframes
to achieve zero acceleration at the Vector keyframe, instead of simply pointing
it at the adjacent point.
Original idea and implementation by Benoit Bolsee <benoit.bolsee@online.be >;
code mostly rewritten to improve code clarity and extensibility.
Reviewers: aligorith
Differential Revision: https://developer.blender.org/D2884
2017-11-01 21:57:39 +03:00
Campbell Barton
88356a2442
Cleanup: use term shape-preset in widget code
2017-11-02 05:48:59 +11:00