17 months agoEdit Mesh: don't recalc all meshes w/ extrude
Campbell Barton [Wed, 25 Apr 2018 11:05:19 +0000 (13:05 +0200)]
Edit Mesh: don't recalc all meshes w/ extrude

17 months agoDepsgraph: Clarify python API
Sergey Sharybin [Wed, 25 Apr 2018 08:13:09 +0000 (10:13 +0200)]
Depsgraph: Clarify python API

Follow same naming convention as for C:

- Original data is named without any extra prefix/suffix.
- Evaluated data is named with _eval suffix.

17 months agoEdit Mesh: multi-object extrude_region
Dalai Felinto [Wed, 25 Apr 2018 10:35:36 +0000 (12:35 +0200)]
Edit Mesh: multi-object extrude_region

Technically this is the following operator:

But this is a Python operator that in turns calls:

Which in turns calls:
* MESH_OT_extrude_region
* TRANSFORM_OT_translate

17 months agoDocs: correct debug help message
Campbell Barton [Wed, 25 Apr 2018 10:30:11 +0000 (12:30 +0200)]
Docs: correct debug help message

17 months agoMerge branch 'master' into blender2.8
Campbell Barton [Wed, 25 Apr 2018 10:26:26 +0000 (12:26 +0200)]
Merge branch 'master' into blender2.8

17 months agoCleanup: comments
Campbell Barton [Wed, 25 Apr 2018 10:25:47 +0000 (12:25 +0200)]
Cleanup: comments

17 months agoMulti-View: Moving panel to render, and rename to Stereoscopy
Dalai Felinto [Wed, 25 Apr 2018 10:09:01 +0000 (12:09 +0200)]
Multi-View: Moving panel to render, and rename to Stereoscopy

Multi-View was never a per-viewlayer option. And now that we have viewlayer
it is better to name it in a more recognizable way:

"Stereoscopy" instad of plain "Views".

17 months agoMerge branch 'blender2.8' of into blender2.8
Jeroen Bakker [Wed, 25 Apr 2018 10:06:03 +0000 (12:06 +0200)]
Merge branch 'blender2.8' of into blender2.8

17 months agoOverlay: Codestyle
Jeroen Bakker [Wed, 25 Apr 2018 10:03:27 +0000 (12:03 +0200)]
Overlay: Codestyle

removed unused code

17 months agoCleanup: unused vars
Campbell Barton [Wed, 25 Apr 2018 09:59:52 +0000 (11:59 +0200)]
Cleanup: unused vars

17 months agoWorkbench: GLSL performance + code style
Jeroen Bakker [Wed, 25 Apr 2018 09:54:02 +0000 (11:54 +0200)]
Workbench: GLSL performance + code style

 - store normal in vec2
 - use rgba_8 for colorBuffer

17 months agoMerge branch 'blender2.8' of into blender2.8
Jeroen Bakker [Wed, 25 Apr 2018 09:31:03 +0000 (11:31 +0200)]
Merge branch 'blender2.8' of into blender2.8

17 months agoWorkbench: Dither background color/gradient
Jeroen Bakker [Wed, 25 Apr 2018 09:30:38 +0000 (11:30 +0200)]
Workbench: Dither background color/gradient

17 months agoFix: Silence texture stack owner_id warnings in debug mode from anim_filtering code
Joshua Leung [Wed, 25 Apr 2018 09:18:35 +0000 (11:18 +0200)]
Fix: Silence texture stack owner_id warnings in debug mode from anim_filtering code

The Blender Internal removal (51b796ff1528c52cc8b4079fab1003671652a4d9)
removed support for texture slots from Materials/Lamps/Worlds,
but didn't remove the relevant parts from the animation editor filtering
code that were responsible for adding the texture slots for those channels.

17 months agoSilhouette Overlap Overlay
Jeroen Bakker [Wed, 25 Apr 2018 08:59:48 +0000 (10:59 +0200)]
Silhouette Overlap Overlay

Added Object Overlap Overlay

 - Added R32UI support to GPU_framebuffer
 - Added R32U support to draw manager
 - The overlay mode has a object data pass that will render 'needed' data to specific buffers so we can mix them together via a deferred rendering. In future will also add UV's and other data
 - Overlap is implemented as an overlay so it could be used on top of the Scene lighted Solid mode (that will be rendered by Eevee.

Reviewers: fclem, brecht

Reviewed By: fclem

Subscribers: sergey

Tags: #code_quest

Maniphest Tasks: T54726

Differential Revision:

17 months agoEdit Mesh: multi-object split
Dalai Felinto [Wed, 25 Apr 2018 08:58:43 +0000 (10:58 +0200)]
Edit Mesh: multi-object split

17 months agoMerge branch 'master' into blender2.8
Bastien Montagne [Wed, 25 Apr 2018 08:39:51 +0000 (10:39 +0200)]
Merge branch 'master' into blender2.8

17 months agoFix (unreported) broken 'get system path' in some cases.
Bastien Montagne [Wed, 25 Apr 2018 08:33:29 +0000 (10:33 +0200)]
Fix (unreported) broken 'get system path' in some cases.

There were two issues here actually:
* The hack to allow running Blender directly from the source directory
would just check for a 'release' directory, without actually ensuring it
is release dir from blender source tree, and not some other random
* GHOST_getSystemDir returns nothing for portable installations, now
we'll then check directly in the blender binary dir in that case.

This fix is more critical in 2.8 branch, where that system path is used
to retrieve new '3D' icons...

17 months agoCleanup: use blender terminology
Campbell Barton [Wed, 25 Apr 2018 08:17:31 +0000 (10:17 +0200)]
Cleanup: use blender terminology

17 months agoFix cursor switching w/ transform redo
Campbell Barton [Wed, 25 Apr 2018 08:15:20 +0000 (10:15 +0200)]
Fix cursor switching w/ transform redo

Recent cursor changes stopped number button continuous grab.

17 months agoCleanup: indentation
Campbell Barton [Wed, 25 Apr 2018 08:10:00 +0000 (10:10 +0200)]
Cleanup: indentation

17 months agoUI: disable advanced option for redo popover
Campbell Barton [Wed, 25 Apr 2018 08:08:04 +0000 (10:08 +0200)]
UI: disable advanced option for redo popover

17 months agoCMake: only write edited file when changes made
Campbell Barton [Wed, 25 Apr 2018 07:57:44 +0000 (09:57 +0200)]
CMake: only write edited file when changes made

Caused cmake to run after every icon update.

17 months agoCleanup: typos
Campbell Barton [Wed, 25 Apr 2018 07:55:37 +0000 (09:55 +0200)]
Cleanup: typos

17 months agoMerge remote-tracking branch 'origin/master' into blender2.8
Dalai Felinto [Wed, 25 Apr 2018 07:31:25 +0000 (09:31 +0200)]
Merge remote-tracking branch 'origin/master' into blender2.8

17 months agoFix string comparison in GNUMakefile for linux systems
Dalai Felinto [Wed, 25 Apr 2018 07:28:35 +0000 (09:28 +0200)]
Fix string comparison in GNUMakefile for linux systems

17 months agoCMake: generate icon list for installation
Campbell Barton [Wed, 25 Apr 2018 07:24:54 +0000 (09:24 +0200)]
CMake: generate icon list for installation

MSVC users weren't getting icons installed, since glob isn't reliable,
list all files in a section which the update script maintains.

17 months agoUI: add extrude icon
Campbell Barton [Wed, 25 Apr 2018 07:21:49 +0000 (09:21 +0200)]
UI: add extrude icon

17 months agoUI: show all pain mode panels in the topbar
Campbell Barton [Wed, 25 Apr 2018 06:20:01 +0000 (08:20 +0200)]
UI: show all pain mode panels in the topbar

This shows some which need to be hidden (eventually).

17 months agoUI: move mode options to the topbar
Campbell Barton [Wed, 25 Apr 2018 06:16:21 +0000 (08:16 +0200)]
UI: move mode options to the topbar

Remove toolbar panels which have items available in menus.

17 months agoUI: Apply remove redo region
Campbell Barton [Wed, 25 Apr 2018 05:52:40 +0000 (07:52 +0200)]
UI: Apply remove redo region

This was a disabled part of the top-bar merge (code by @Severin)

The only change made is to move to redo UI into a popover.

17 months agoUI: remove history & object tools
Campbell Barton [Wed, 25 Apr 2018 05:25:08 +0000 (07:25 +0200)]
UI: remove history & object tools

Add object shading menu.

17 months agoUI: mesh rip icons
Campbell Barton [Wed, 25 Apr 2018 05:14:34 +0000 (07:14 +0200)]
UI: mesh rip icons

17 months agoUI: remove mesh panel
Campbell Barton [Wed, 25 Apr 2018 05:12:34 +0000 (07:12 +0200)]
UI: remove mesh panel

17 months agoUI: remove shading & uv's panel
Campbell Barton [Tue, 24 Apr 2018 19:07:05 +0000 (21:07 +0200)]
UI: remove shading & uv's panel

17 months agoUI: disable grease pencil panel
Campbell Barton [Tue, 24 Apr 2018 19:05:24 +0000 (21:05 +0200)]
UI: disable grease pencil panel

Disable poll functions since branch replaces this code.

17 months agoUI: move rigid body physics to menu
Campbell Barton [Tue, 24 Apr 2018 18:46:18 +0000 (20:46 +0200)]
UI: move rigid body physics to menu

17 months agoUI: remove animation panel
Campbell Barton [Tue, 24 Apr 2018 18:37:04 +0000 (20:37 +0200)]
UI: remove animation panel

17 months agoHide top-bar in fullscreen
Julian Eisel [Tue, 24 Apr 2018 17:59:48 +0000 (19:59 +0200)]
Hide top-bar in fullscreen

Fullscreen as in the Alt+F10 fullscreen.

17 months agoUI: remove relations panel
Campbell Barton [Tue, 24 Apr 2018 17:54:22 +0000 (19:54 +0200)]
UI: remove relations panel

17 months agoUI: remove transform panels
Campbell Barton [Tue, 24 Apr 2018 17:35:11 +0000 (19:35 +0200)]
UI: remove transform panels

17 months agoFix NULL pointer check
Campbell Barton [Tue, 24 Apr 2018 17:34:09 +0000 (19:34 +0200)]
Fix NULL pointer check

17 months agoCleanup: unused var
Campbell Barton [Tue, 24 Apr 2018 17:28:53 +0000 (19:28 +0200)]
Cleanup: unused var

17 months agoCurrent Frame Indicator tweaks
Joshua Leung [Tue, 24 Apr 2018 17:18:22 +0000 (19:18 +0200)]
Current Frame Indicator tweaks

* Draw the frame/time number box over the scrollbar instead of above it,
  to reduce the clutter/clashes with markers.

* Draw the box centered around the line instead of off to one side,
  making it clearer that the frame shown is the one being affected.

* Make the box larger than the scrollbar + use white text to make it
  stand out from the neighbouring frame numbers (otherwise, it's easy
  to misread that it's just another one of those)

17 months agoBind Camera to Markers - Various tweaks to make this nicer to work with
Joshua Leung [Tue, 24 Apr 2018 16:10:19 +0000 (18:10 +0200)]
Bind Camera to Markers - Various tweaks to make this nicer to work with

Based on discussions here in the office, this commit introduces a number of
changes to make the "Bind Camera to Markers" feature (introduced during Sintel
to facilitate camera switching, and now an integral part of the UI for doing this)
nicer to use.

Main changes:
* "Camera Markers" are now drawn using Camera icons, making it easier to
   distinguish between them and other ("normal") markers

* "Camera Markers" will display the name of the bound marker, making it
   easier to see what camera each marker uses. This will then also stay
   in sync with the camera being used (though a manual refresh is needed
   after renaming objects to make the timeline update), fixing the problem
   where the marker's camera and the name get out of sync.

* Behaviour of Ctrl-B has been modified to make it easier to quickly add
  these markers. Now, it will directly add a new marker on the current frame,
  bound to the currently selected camera object. If there's an existing marker
  on that frame, the existing marker's camera will be replaced instead of making
  a new marker.

17 months agoMarkers: Move "Bind Camera to Marker" from 'View' Menu to the Markers menu proper
Joshua Leung [Tue, 24 Apr 2018 15:59:32 +0000 (17:59 +0200)]
Markers: Move "Bind Camera to Marker" from 'View' Menu to the Markers menu proper

It was always weird that this tool for markers was stored in a different
menu where it was hard to find.

17 months agoUI Tweak: Don't hide frame range indicators when preview range is shown
Joshua Leung [Tue, 24 Apr 2018 15:37:28 +0000 (17:37 +0200)]
UI Tweak: Don't hide frame range indicators when preview range is shown

After discussing with UI team, it's better to show both ranges, to make it
clearer that we have an "overlay" with the preview range.

17 months agoEEVEE: Fix TAA spreading black disease.
Clément Foucault [Tue, 24 Apr 2018 15:54:24 +0000 (17:54 +0200)]
EEVEE: Fix TAA spreading black disease.

The SSR has a bug that creates NAN pixels values. Reported here T54795.

17 months agoError in last commit
Campbell Barton [Tue, 24 Apr 2018 15:46:51 +0000 (17:46 +0200)]
Error in last commit

17 months agoIcons: only write icons from group 'Export'
Campbell Barton [Tue, 24 Apr 2018 15:44:13 +0000 (17:44 +0200)]
Icons: only write icons from group 'Export'

Allows reference objects not to get mixed up with finished icons.

17 months agoUI: move mesh-weights from panels to menus
Campbell Barton [Tue, 24 Apr 2018 14:54:38 +0000 (16:54 +0200)]
UI: move mesh-weights from panels to menus

Also de-duplicate edit/object mode menus.

17 months agoUI: hide toolbar text when narrow
Campbell Barton [Tue, 24 Apr 2018 14:33:38 +0000 (16:33 +0200)]
UI: hide toolbar text when narrow

17 months agoUI: remove create panel
Campbell Barton [Tue, 24 Apr 2018 14:13:03 +0000 (16:13 +0200)]
UI: remove create panel

Move create to the menus.

17 months agoUI: remove toolbar header
Campbell Barton [Tue, 24 Apr 2018 14:04:07 +0000 (16:04 +0200)]
UI: remove toolbar header

17 months agoUI: use new icons in toolbar
Campbell Barton [Tue, 24 Apr 2018 13:32:11 +0000 (15:32 +0200)]
UI: use new icons in toolbar

17 months agoUI: icons from @billreynish
Campbell Barton [Tue, 24 Apr 2018 13:31:54 +0000 (15:31 +0200)]
UI: icons from @billreynish

17 months agoManipulators: Fix Rotate manipulator arc drawing issue.
Clément Foucault [Tue, 24 Apr 2018 13:06:00 +0000 (15:06 +0200)]
Manipulators: Fix Rotate manipulator arc drawing issue.

17 months agoManipulators: Make rotate manipulator smoother.
Clément Foucault [Tue, 24 Apr 2018 13:05:07 +0000 (15:05 +0200)]
Manipulators: Make rotate manipulator smoother.

17 months agoManipulators: Enable AntiAliased drawing of manipulators by default.
Clément Foucault [Tue, 24 Apr 2018 13:04:08 +0000 (15:04 +0200)]
Manipulators: Enable AntiAliased drawing of manipulators by default.

This exhibit some little artifacts inherent to GL_LINE/POLYHON_SMOOTH but
it's far less distracting than really bad Aliasing.

17 months agoEEVEE: Fix contact shadows on flat objects/backfaces.
Clément Foucault [Tue, 24 Apr 2018 12:56:35 +0000 (14:56 +0200)]
EEVEE: Fix contact shadows on flat objects/backfaces.

17 months agoEEVEE: Group Timing stats for probe rendering.
Clément Foucault [Tue, 24 Apr 2018 11:01:04 +0000 (13:01 +0200)]
EEVEE: Group Timing stats for probe rendering.

17 months agoManipulator: Use evaluated object's matrix to get maipulator position
Sergey Sharybin [Fri, 2 Feb 2018 16:56:03 +0000 (17:56 +0100)]
Manipulator: Use evaluated object's matrix to get maipulator position

With the clear separation between data and a state we need to make sure
operators and other areas are readingstate from evaluated datablocks.

Code-wise it means that all evaluated values are to be read from dataglock
which is owned by dependency graph, using DEG_get_evaluated_id() or similar

Reviewers: brecht, mont29, campbellbarton, dfelinto

Differential Revision:

17 months agoBLI BVHTree Walk DFS: Decreases the size of the stack space used for the recursive...
Germano [Tue, 24 Apr 2018 12:48:14 +0000 (09:48 -0300)]
BLI BVHTree Walk DFS: Decreases the size of the stack space used for the recursive function.

Each parameter of the function is copied into the memory stack.
This also brought an improvement in peformance of snapping functions between 5% and 12% in my tests.

17 months agoMake View Selected to be aware of copy-on-write
Sergey Sharybin [Tue, 24 Apr 2018 12:26:09 +0000 (14:26 +0200)]
Make View Selected to be aware of copy-on-write

17 months agoMulti-Object Pose: Apply Visual Transforms operator
Joshua Leung [Mon, 23 Apr 2018 13:28:03 +0000 (15:28 +0200)]
Multi-Object Pose: Apply Visual Transforms operator

17 months agoUI: display icons w/ OSA even when very large
Campbell Barton [Tue, 24 Apr 2018 12:18:13 +0000 (14:18 +0200)]
UI: display icons w/ OSA even when very large

17 months agoOutliner: reorganize collection related display modes.
Brecht Van Lommel [Mon, 23 Apr 2018 18:39:05 +0000 (20:39 +0200)]
Outliner: reorganize collection related display modes.

* "Scenes" now shows for each scene lists of all view layers, collections and
  objects contained in it. This is the place to see all collections and objects
  in the scene even if they are not used in any view layer. Objects are nested
  according to parenting here.
* "Collections" now shows all collections in the view layer, and the objects
  in those collections. Objects are not nested by parenting, only collections
  since it would be too confusing if the children are in a different collection.
* "Groups" is unchanged.
* "View Layer" was removed, replaced by "Collections".

Part of T54790.

17 months agoUI: disable writing icon size
Campbell Barton [Tue, 24 Apr 2018 11:49:39 +0000 (13:49 +0200)]
UI: disable writing icon size

Causes staircasing, just use byte range

17 months agoCleanup: correct comments
Campbell Barton [Tue, 24 Apr 2018 10:42:35 +0000 (12:42 +0200)]
Cleanup: correct comments

17 months agoBuild: Added explicit search for Blosc in CMake files. Unix build will now disable...
Stefan Werner [Tue, 24 Apr 2018 11:26:54 +0000 (13:26 +0200)]
Build: Added explicit search for Blosc in CMake files. Unix build will now disable WITH_OPENVDB_BLOSC if Blosc libraries cannot be found.

17 months agoBuild deps: Fixed TBB build with GCC 6 and newer, turning off dead store elimination.
Stefan Werner [Tue, 24 Apr 2018 11:23:52 +0000 (13:23 +0200)]
Build deps: Fixed TBB build with GCC 6 and newer, turning off dead store elimination.

17 months agoCamera manipulator: Make it aware of evaluated version of object
Sergey Sharybin [Tue, 17 Apr 2018 15:41:44 +0000 (17:41 +0200)]
Camera manipulator: Make it aware of evaluated version of object

Reviewers: brecht, dfelinto

Reviewed By: brecht

Differential Revision:

17 months agoEEVEE: LightProbe: Implement Visibility Group.
Clément Foucault [Tue, 24 Apr 2018 10:45:59 +0000 (12:45 +0200)]
EEVEE: LightProbe: Implement Visibility Group.

Works on every probe type.

The function to see is EEVEE_lightprobes_obj_visibility_cb.

Set pinfo->vis_data.cached to true makes the computation faster for multiple
views using the same group.

We could even sort the probes by group for that mater to speed things up
even more (only applies to dynamic probes like the planar reflections because
other probes are only rendered one at a time).

17 months agoDRW: Add visibility callback function.
Clément Foucault [Tue, 24 Apr 2018 10:29:15 +0000 (12:29 +0200)]
DRW: Add visibility callback function.

This add a callback function that runs after frustum culling test.

This callback returns the final visibility for this object.

Be aware that it's called for EVERY drawcalls that use this callback even
if their visibility has been cached.

17 months agoEEVEE: LightProbes: Add Visibility Group to DNA/RNA/UI.
Clément Foucault [Tue, 24 Apr 2018 10:15:25 +0000 (12:15 +0200)]
EEVEE: LightProbes: Add Visibility Group to DNA/RNA/UI.

17 months agoOpenGL: Remove remaining instances of GL_RGBA16F_ARB.
Clément Foucault [Tue, 24 Apr 2018 09:10:30 +0000 (11:10 +0200)]
OpenGL: Remove remaining instances of GL_RGBA16F_ARB.

There is no need for it now that we use opengl 3.3. Use GL_RGBA16F instead.

17 months agoArc: Use proper lacding branch
Sergey Sharybin [Tue, 24 Apr 2018 10:26:08 +0000 (12:26 +0200)]
Arc: Use proper lacding branch

17 months agoFix EEVEE lamps with shadows by default but wrong UI
Dalai Felinto [Tue, 24 Apr 2018 10:11:31 +0000 (12:11 +0200)]
Fix EEVEE lamps with shadows by default but wrong UI

Reported on T54788: Actually this was what BI was doing as well.
But anyways fixed for good now.

That includes a subversion bump.

17 months agoAdd "make icons_geom" convenience target
Campbell Barton [Tue, 24 Apr 2018 10:08:01 +0000 (12:08 +0200)]
Add "make icons_geom" convenience target

Generates icons from the blend file in lib.

17 months agoTopbar: clarify command settings name, remove placeholder button.
Brecht Van Lommel [Tue, 24 Apr 2018 09:11:34 +0000 (11:11 +0200)]
Topbar: clarify command settings name, remove placeholder button.

17 months agoUI: fix inconsistency in button rounding when zooming in.
Brecht Van Lommel [Sun, 22 Apr 2018 20:04:06 +0000 (22:04 +0200)]
UI: fix inconsistency in button rounding when zooming in.

Some widgets would have rounding relative to the button size, others
absolute. Now it's always absolute. Note changing Display Scale in the
user prefs is not zooming, the rounding still scales with that.

17 months agoCheck LOCAL datafiles if SYSTEM not found
Campbell Barton [Tue, 24 Apr 2018 08:45:57 +0000 (10:45 +0200)]
Check LOCAL datafiles if SYSTEM not found

17 months agoIcon Generate: write icon size into the header
Campbell Barton [Tue, 24 Apr 2018 08:32:08 +0000 (10:32 +0200)]
Icon Generate: write icon size into the header

17 months agoBuild deps: Fixed capitalisation of CMake modules path for OpenVDB. Before, OpenVDB...
Stefan Werner [Tue, 24 Apr 2018 08:28:38 +0000 (10:28 +0200)]
Build deps: Fixed capitalisation of CMake modules path for OpenVDB. Before, OpenVDB would always build without BLOSC and TBB support on case-sensitive file systems.

17 months agoUI: use icons for the toolbar
Campbell Barton [Tue, 24 Apr 2018 07:19:28 +0000 (09:19 +0200)]
UI: use icons for the toolbar

17 months agoMerge branch 'master' into blender2.8
Campbell Barton [Tue, 24 Apr 2018 06:01:21 +0000 (08:01 +0200)]
Merge branch 'master' into blender2.8

17 months agoUtility to generate geometry icons
Campbell Barton [Tue, 24 Apr 2018 05:34:33 +0000 (07:34 +0200)]
Utility to generate geometry icons

17 months agoFix opening new windows would try to open global areas twice
Julian Eisel [Mon, 23 Apr 2018 20:13:58 +0000 (22:13 +0200)]
Fix opening new windows would try to open global areas twice

Would cause weird & broken areas below the topbar.

17 months agoBLI_math: avoid assert with non-finite numbers
Campbell Barton [Mon, 23 Apr 2018 19:07:27 +0000 (21:07 +0200)]
BLI_math: avoid assert with non-finite numbers

17 months agoError in last commit
Campbell Barton [Mon, 23 Apr 2018 18:44:41 +0000 (20:44 +0200)]
Error in last commit

17 months agoError in last commit
Campbell Barton [Mon, 23 Apr 2018 18:29:40 +0000 (20:29 +0200)]
Error in last commit

17 months agoUI: option to load icon from file
Campbell Barton [Mon, 23 Apr 2018 18:16:32 +0000 (20:16 +0200)]
UI: option to load icon from file

17 months agoStatic Override: initial enabling of overrides for modifiers and constraints.
Bastien Montagne [Mon, 23 Apr 2018 16:10:06 +0000 (18:10 +0200)]
Static Override: initial enabling of overrides for modifiers and constraints.

Just the 'mute' button for now.

17 months agoStatic Overrides: more performances improvements.
Bastien Montagne [Mon, 23 Apr 2018 14:51:01 +0000 (16:51 +0200)]
Static Overrides: more performances improvements.

Moved another dynamic allocating print into (usually) static one, gives
us another average 8% speedup on Autumn rig.

17 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 23 Apr 2018 14:44:09 +0000 (16:44 +0200)]
Merge branch 'master' into blender2.8

17 months agoDepsgraph: Add relation flag to avoid flush across it
Sergey Sharybin [Mon, 23 Apr 2018 14:42:37 +0000 (16:42 +0200)]
Depsgraph: Add relation flag to avoid flush across it

This way we can avoid re-evaluation of certain parts of datablock
when something unrelated has changed.

17 months agostylecode cleanup
Bastien Montagne [Mon, 23 Apr 2018 14:13:50 +0000 (16:13 +0200)]
stylecode cleanup

17 months agoStatic Overrides: disable animated check for now.
Bastien Montagne [Mon, 23 Apr 2018 14:08:45 +0000 (16:08 +0200)]
Static Overrides: disable animated check for now.

This is actually rather slow process, commeting it out gives us another
10% speedup... On a non-animated char! Don't even want to know how much
this would have costed on a rig with hundreds of fcurves!

And checking this is not really critical for us anyway, once animated
you do not really care whether props are also statically overridden or

17 months agoStatic Overrides: hide/deactivate all but 'REPLACE' operation.
Bastien Montagne [Mon, 23 Apr 2018 13:14:51 +0000 (15:14 +0200)]
Static Overrides: hide/deactivate all but 'REPLACE' operation.

Others remain in code for now, just not exposed to user.

17 months agoMerge branch 'master' into blender2.8
Sergey Sharybin [Mon, 23 Apr 2018 12:55:38 +0000 (14:55 +0200)]
Merge branch 'master' into blender2.8