Campbell Barton
b96f8bf7fb
UI: display icons w/ OSA even when very large
2018-04-24 14:18:56 +02:00
Brecht Van Lommel
c56bbf60d8
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.
2018-04-24 14:01:51 +02:00
Campbell Barton
d67b120f17
UI: disable writing icon size
...
Causes staircasing, just use byte range
2018-04-24 13:52:25 +02:00
Campbell Barton
011c0b6113
Cleanup: correct comments
2018-04-24 13:50:31 +02:00
Sergey Sharybin
3e26b84397
Camera manipulator: Make it aware of evaluated version of object
...
Reviewers: brecht, dfelinto
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3159
2018-04-24 12:57:43 +02:00
Clément Foucault
15bfa175f8
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).
2018-04-24 12:48:43 +02:00
Clément Foucault
2ff8f965df
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.
2018-04-24 12:48:43 +02:00
Clément Foucault
8fb9dfbec5
EEVEE: LightProbes: Add Visibility Group to DNA/RNA/UI.
2018-04-24 12:48:43 +02:00
Clément Foucault
9ff8195535
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.
2018-04-24 12:48:43 +02:00
Sergey Sharybin
7d859da513
Arc: Use proper lacding branch
2018-04-24 12:26:37 +02:00
Dalai Felinto
08e4808318
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.
2018-04-24 12:25:41 +02:00
Campbell Barton
24bde1ca43
Add "make icons_geom" convenience target
...
Generates icons from the blend file in lib.
2018-04-24 12:09:31 +02:00
Brecht Van Lommel
67f23cff53
Topbar: clarify command settings name, remove placeholder button.
2018-04-24 11:35:25 +02:00
Brecht Van Lommel
1ba91ae2c0
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.
2018-04-24 11:10:08 +02:00
Campbell Barton
1da1288544
Check LOCAL datafiles if SYSTEM not found
2018-04-24 10:45:57 +02:00
Campbell Barton
45374b3880
Icon Generate: write icon size into the header
2018-04-24 10:32:08 +02:00
Campbell Barton
3581b997d4
UI: use icons for the toolbar
2018-04-24 09:19:28 +02:00
Campbell Barton
4b544e857c
Merge branch 'master' into blender2.8
2018-04-24 08:01:21 +02:00
Campbell Barton
c1b310c32b
Utility to generate geometry icons
2018-04-24 07:52:57 +02:00
Julian Eisel
10f0f4b06f
Fix opening new windows would try to open global areas twice
...
Would cause weird & broken areas below the topbar.
2018-04-23 22:18:49 +02:00
Campbell Barton
92f36586e3
BLI_math: avoid assert with non-finite numbers
2018-04-23 21:09:01 +02:00
Campbell Barton
74b3947c90
Error in last commit
2018-04-23 20:44:41 +02:00
Campbell Barton
860642aba1
Error in last commit
2018-04-23 20:29:40 +02:00
Campbell Barton
1287fa3f7c
UI: option to load icon from file
2018-04-23 20:24:49 +02:00
Bastien Montagne
20105fc845
Static Override: initial enabling of overrides for modifiers and constraints.
...
Just the 'mute' button for now.
2018-04-23 18:10:06 +02:00
Bastien Montagne
4498192813
Static Overrides: more performances improvements.
...
Moved another dynamic allocating print into (usually) static one, gives
us another average 8% speedup on Autumn rig.
2018-04-23 16:52:26 +02:00
Sergey Sharybin
fc9624e485
Merge branch 'master' into blender2.8
2018-04-23 16:44:09 +02:00
Sergey Sharybin
53d69e6d04
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.
2018-04-23 16:42:37 +02:00
Bastien Montagne
c8e1f18c5d
stylecode cleanup
2018-04-23 16:13:50 +02:00
Bastien Montagne
2e1ac7e2df
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
not.
2018-04-23 16:08:45 +02:00
Bastien Montagne
a7960db471
Static Overrides: hide/deactivate all but 'REPLACE' operation.
...
Others remain in code for now, just not exposed to user.
2018-04-23 15:15:53 +02:00
Sergey Sharybin
054d7038cc
Merge branch 'master' into blender2.8
2018-04-23 14:55:38 +02:00
Sergey Sharybin
0ca7a78f20
Depsgraph: Fix missing update with animated curve path
2018-04-23 14:53:54 +02:00
Joshua Leung
4529192157
Multi-Object Pose: Reset unkeyed works now (Clear User Transforms)
2018-04-23 14:51:24 +02:00
Joshua Leung
375f757a60
Cleanup: Remove old cruft (from 2.4)
2018-04-23 14:51:24 +02:00
Julian Eisel
6c46174662
Fix crash when opening file-browser through top-bar menus
...
Was probably caused by top-bar merge.
2018-04-23 14:36:42 +02:00
Sergey Sharybin
2183f93dbe
Merge branch 'master' into blender2.8
2018-04-23 14:35:46 +02:00
Sergey Sharybin
41cf2d9042
Depsgraph: Cleanup, remove unused relation tag
2018-04-23 14:34:56 +02:00
Bastien Montagne
89f7fb0aef
Pqrtiql fix of some operators in object.py.
...
They were still trying to set active object of Scene.
Select hierarchy with extend option is still not zorking for some
;ysterious reasons. :/
2018-04-23 14:26:07 +02:00
Bastien Montagne
d276ef7062
Fix typo in error message.
2018-04-23 14:25:42 +02:00
Bastien Montagne
21c250926c
Cleanup some remaining LOD stuff after BGE removal.
2018-04-23 14:12:34 +02:00
Joshua Leung
020c93360f
Fix: Set defaults for converted timeline editors properly
...
(Summary channels for the "timeline" dopesheet wasn't collapsed as it should be)
2018-04-23 14:05:55 +02:00
Joshua Leung
3f21023f24
Fix: View All/Selected entries in new "timeline" not working
...
These entries were still referring to the old standalone timeline editor
2018-04-23 14:05:55 +02:00
Joshua Leung
9acf3a10cf
Fix: Changing bone group color doesn't refresh/redraw viewport
2018-04-23 14:05:55 +02:00
Dalai Felinto
71eca8e82c
Indentation cleanup
2018-04-23 13:53:11 +02:00
Brecht Van Lommel
ede19477c8
Fix T54765: build error on macOS.
2018-04-23 13:42:43 +02:00
Campbell Barton
46a0e72540
Merge branch 'master' into blender2.8
2018-04-23 12:59:57 +02:00
Sergey Sharybin
7cb2727157
Fix git submodules branch configuration
2018-04-23 12:55:04 +02:00
Campbell Barton
b14979f91f
Cleanup: style
2018-04-23 12:53:45 +02:00
Sergey Sharybin
d68f7c8e11
Depsgraph: Make update flags debug print more useful
...
Will print list of human-readable update flags, not the combined bitfield
printed as a number.
2018-04-23 12:53:43 +02:00