Dalai Felinto
51a14b64d8
Add active collection to stats bar
...
Only show the collection name when in object mode.
It is not relevant in any other mode.
2018-11-13 18:34:38 -02:00
Dalai Felinto
42fbb8af83
Util to get collection UI name
...
Note we still have hardcoded IFACE_("Scene Collection") in the outliner.
I'm ok with getting of them as well, though no strong feelings here.
2018-11-13 18:14:14 -02:00
520f71b43a
Fix tool keymaps not working properly after recent changes.
...
Not sure this is the best fix, but this should be working. Regardless it seems
good to tag active tool keymaps as such.
2018-11-13 21:02:40 +01:00
ca6dd692b5
Keymaps: reload key configuration when changing select mouse.
...
For configuration scripts that want to change keymaps based on this setting.
2018-11-13 19:29:13 +01:00
c39d5a6c88
Fix T57708: Crash on Eevee rendering with SSR enabled.
...
Intel does not like dead code.
The driver for `Intel HD Graphics 4000` crashes in these cases.
2018-11-13 15:19:10 -02:00
b0d0179d60
Depsgraph: fix missing relations for drivers on ShaderNode properties.
...
Also fix duplicate driver to target relations due to a redundant line.
2018-11-13 21:11:09 +03:00
445d813c87
GP: Don't calculate fast drawing when playing
2018-11-13 18:53:42 +01:00
7aae28af2d
Keymaps: refactor loading of default keymap, fix bugs.
...
This refactors loading of key configurations to clear and refill existing
ones, rather than adding a new one and then removing the old one.
This fixes broken loading of non-default configurations after recent changes,
and prepares for future changes to make it possible to dynamically change
key configurations based on user preferences.
2018-11-13 18:22:07 +01:00
fe4df40f30
Fix crash when Python creates modal keymaps without items.
2018-11-13 18:22:07 +01:00
81caa7fd6d
GP: Fix wrong fill texture when draw primitives
2018-11-13 17:09:29 +01:00
c2dc5dfa0d
GP: Fix wrong fill after subdivide
2018-11-13 17:09:28 +01:00
dc6ba4f2ec
Py API: fix parameter order in offscreen.draw_view3d
2018-11-13 16:23:31 +01:00
c8975b0fc7
Py API Docs: GPUVertFormat documentation
2018-11-13 15:25:51 +01:00
444f1fd423
Py API Docs: Cleanup
2018-11-13 15:25:51 +01:00
3f478f4260
Py API Docs: GPUIndexBuf documentation
2018-11-13 15:25:51 +01:00
4e1057780b
GP: Remove redundant texture attachment
2018-11-13 13:44:56 +01:00
6ae84ddc6e
Py API Docs: GPUBatch documentation
2018-11-13 13:00:18 +01:00
de36a2f99b
Fix T57794: Text in Clip Editor Dopesheet not visible
...
Maniphest Tasks: T57794
Differential Revision: https://developer.blender.org/D3937
2018-11-13 12:04:46 +01:00
34058c4ff1
Fix T57105: Baked Particles could not be rendered as expected
...
Same fix as for smoke (and is what caching proposal is AFAIK):
share cache between copied and original objects.
One thing which is still missing to be fixed is to make auto-cache
more reliable. It was already kind of broken, so don't think it
should be a stopping factor for this fix.
2018-11-13 11:39:02 +01:00
647a798076
Workbench: Volume: Fix slice display opacity
2018-11-13 11:22:29 +01:00
14e4fb2773
GPU: Fix crash at startup
2018-11-13 11:22:28 +01:00
aab959d71c
Cleanup: split object mode out of tool checks
2018-11-13 16:58:29 +11:00
b657e9875c
Tool System: use enum for gp sculpt/weight paint
...
Fixes T57525
2018-11-13 16:52:39 +11:00
3437cd9ac2
Cleanup: add arg to GP_EDITABLE_STROKES macro
...
Without this, we use arguments defined in the macro
making code hard to read.
2018-11-13 15:07:10 +11:00
184ab749c3
Merge branch 'master' into blender2.8
2018-11-13 14:25:36 +11:00
fe566a30f3
Cleanup: use lowercase 2d/3d in function names
2018-11-13 14:21:42 +11:00
97062a1b9b
Cleanup: use doxy groups
2018-11-13 14:16:23 +11:00
b323167600
GP: box/lasso support for select-operations
...
This adds support for more adbvanced select operations
matching 3D view select operators.
Also de-duplicate box/lasso select code.
2018-11-13 14:04:00 +11:00
ed4f204d86
WM: default operators to replace selection
...
Tools now default to creating new selection.
2018-11-13 14:02:28 +11:00
bba868ebf9
Cleanup: use const args
2018-11-13 13:28:43 +11:00
9879ea8a53
Cleanup: remove unused source
2018-11-13 09:38:02 +11:00
6ba7345ca5
Workbench: Volumes: Fix volumetrics step length calculation
...
Step size is now one voxel diagonal.
Fix T57678 Culling of smoke depending on view direction
2018-11-12 21:15:58 +01:00
3eb7928406
Workbench: Volumes: Fix volumetrics rendering twices
2018-11-12 21:12:34 +01:00
d941f40c21
Fix T57571: Blender crashes on UV transformation
...
That was caused by a thread safety issue on gpu_batch_presets_unregister()
which was not designed to be used for this kind of situation (managing 3D
meshes batches).
2018-11-12 18:07:01 +01:00
c34c688b47
Fix build: min and max not found.
2018-11-12 19:36:31 +03:00
3b9700aa51
Remove AnimMapper: it has been left unimplemented for almost ten years.
...
It was supposed to be a feature for substituting RNA paths on the
fly, but has never been implemented, apart from a couple of structure
definitions and passing around some always-NULL pointers. Now it gets
in the way of refactoring NLA evaluation to use GHash for efficiency.
2018-11-12 19:36:31 +03:00
583bc70435
GP: Hide cursor in some modes
2018-11-12 16:56:50 +01:00
c199040438
UI: Scale control points on curve map when zooming
...
Mentioned by Pablo on Blender Today : https://www.youtube.com/watch?v=67NIL5A-07c @ about 27:47
Differential Revision: https://developer.blender.org/D3902
2018-11-12 14:18:35 +00:00
36d25fc81b
GP: Cleanup unused code
2018-11-12 14:31:55 +01:00
314048b195
GP: Change View icon for annotations
2018-11-12 14:31:55 +01:00
aee0446b6b
Add a lot of update tagging to operations with NLA tracks and strips.
2018-11-12 16:18:33 +03:00
36a3a40033
Eevee: Fix ESM not working after a certain distance
...
This was caused by overflow caused by the background and precision during
filtering.
2018-11-12 13:50:22 +01:00
e51dae4af8
Eevee: Fix lamps shadows not updating correctly
...
This was visible if the lamps was out of frustum.
2018-11-12 13:50:22 +01:00
150218e58b
Ruler Tool: Fix non readable text
...
The ruler tool is using a hard coded background color. Invert it if the
text color is bright. In the future we should maybe use a theme color
instead of guessing as it does not work well with middle gray colors.
2018-11-12 13:50:22 +01:00
b44ea9f8bb
Ruler Tool: Fix text background glitch
...
It was using UI_draw_roundbox_aa which is not available when drawing with
the view3d opengl context (because of VAO not being shared). Replace with
simpler rect box. Of course it's a bit more ugly but at least it's working.
2018-11-12 13:50:22 +01:00
b6ad300a13
Fix T57713: Object not selecteable after separate strokes
...
The object was duplicated in Edit mode.
2018-11-12 10:09:10 +01:00
df6530594f
Fix T57527: GP draw takes events from gizmos
...
Add keymap flag to the gizmo handler so events can be handled
on the UI level and not get over-ridden by grease pencil.
2018-11-12 18:51:14 +11:00
5aeec31821
Fix hidden HUD region being used - zero winrct
2018-11-12 15:01:00 +11:00
30ed837473
Revert "Fix hidden action-zone interaction"
...
This reverts commit 03e5ba3183 .
Causes T57729, will look into an alternative fix.
2018-11-12 14:31:28 +11:00
64b463c262
Revert "Fix for hidden regions becoming active"
...
This reverts commit 484faaea4f .
Causes T57729, will look into an alternative fix.
2018-11-12 14:27:47 +11:00