Jeroen Bakker
0764cfe3de
Workbench: Viewport AA Preferences
...
In recent changes the viewport_quality setting was not working what
users expected. This change will separate the anti-aliasing method that
is being used.
We now have three settings:
* scene.display.render_aa: Will be used during `Render Image`.
* scene.display.viewport_aa: Will be used during `Viewport Render Image`.
* userpref.viewport_aa: Will be used in the 3d view.
The viewport_quality setting has been replaced by the viewport_aa
setting as it was the only thing in currently controlled.
Reviewed By: brecht
Maniphest Tasks: T64132
Differential Revision: https://developer.blender.org/D4828
2019-05-09 14:45:45 +02:00
Clément Foucault
54ec0559c8
Fix T64384 : Crash when switching to wireframe on tree_creature blend
...
Was missing NULL pointer check
2019-05-09 14:37:01 +02:00
Brecht Van Lommel
39f78413fc
Tests: add tests/report.html that links to all HTML test reports
...
Currently this is for Cycles, Eevee and workbench tests.
2019-05-09 14:09:55 +02:00
Campbell Barton
3f37787c80
UI: rename Look Dev 'Ball' to 'Sphere'
...
D4813 by @Gvgeo
2019-05-09 21:37:20 +10:00
Jeroen Bakker
8342a124c4
DepsGraph: Multi ViewLayer Selection
...
When using multiple viewlayers and switching between them the selection
gets buggy. The reason for this is that the select_id is updated based
on the index in the viewlayer. This makes the select_id not unique as
objects might be shared or not shared at all.
This fix will update the select_id on all objects in main. This will be triggered in all the selection operators.
Reviewed By: sergey, brecht
Maniphest Tasks: T55617
Differential Revision: https://developer.blender.org/D4824
2019-05-09 13:27:23 +02:00
Clément Foucault
f877022956
Fix T64363 Eevee: Texture coordinates node turns material color to pink
...
Sorry for that :(
2019-05-09 12:46:29 +02:00
Clément Foucault
209c01a6ba
Fix T64329 Crash when switching to Texture Paint
2019-05-09 12:22:12 +02:00
Clément Foucault
d2520511d2
3D Grid: Use View UBO & small cleanup
2019-05-09 12:22:12 +02:00
Bastien Montagne
7c9e649015
I18n disambiguation: Drag (physics force vs. mouse action).
...
Part of T43295.
2019-05-09 11:38:54 +02:00
Bastien Montagne
b2a8019f16
I18n disambiguation: setting particles' parent/children appart.
...
Looks like in some languages common generic parent/child relationship
does notn apply well to those.
Part of T43295.
2019-05-09 11:38:54 +02:00
Bastien Montagne
1b753acd89
I18n disambiguation: Translation (of UI vs. moving something).
...
Part of T43295.
2019-05-09 11:38:54 +02:00
Clément Foucault
895c41ec5d
Fix Crash with armature using custom shapes
2019-05-09 11:35:52 +02:00
Sebastian Parborg
5ab57f7ba4
Move out pose edit options into the pose data
...
Move pose edit mode booleans out of the armature data into the pose data
Reviewed By: Brecht
Differential Revision: http://developer.blender.org/D4832
2019-05-09 11:21:34 +02:00
Lucas Veber
ffb3226d27
Fix T64308: bake animation not working after recent bendy bone changes
...
Differential Revision: https://developer.blender.org/D4820
2019-05-09 11:18:16 +02:00
Clément Foucault
c74e9273a9
Fix T64366 DRW: Crash opening Mr Elephant scene since recent commit
2019-05-09 11:16:54 +02:00
Clément Foucault
a951aa5f62
Fix T64296 Z-axis overlay vanishes at scene origin in 3D Viewport
...
Grid shader was still using deprecated eye vector.
2019-05-09 10:59:25 +02:00
Campbell Barton
dea8fb2bea
Fix: Nav_bar context menu in preferences
...
Also merge the keymaps for header/footer/navbar.
D4736 by @Gvgeo with edits
2019-05-09 18:40:42 +10:00
Campbell Barton
f09aead64a
UI: minor improvements to font menu
...
D4814 by @RedMser with edits
2019-05-09 17:19:54 +10:00
Campbell Barton
630e94791f
Keymap: automate using OSKey for Ctrl on macos
...
Replace hard coded use of oskey with a function.
Add checks to avoid conflicting bindings with the OS.
2019-05-09 16:18:50 +10:00
Campbell Barton
6e33729462
Fix crash displaying UV's
2019-05-09 14:46:44 +10:00
Campbell Barton
be7031bee3
Fix bpy.utils.script_paths ignoring user_pref arg
2019-05-09 13:23:05 +10:00
Campbell Barton
33f495bd52
Cleanup: unused bpyml module
...
Was for declarative style UI definitions,
but never ended up being used.
2019-05-09 13:15:21 +10:00
Campbell Barton
7465a5db3b
Cleanup: unused args/vars/imports in modules
2019-05-09 13:11:36 +10:00
Campbell Barton
fc37238b17
Cleanup: unused args/vars/imports in bl_operators
2019-05-09 12:42:05 +10:00
Campbell Barton
bc39fa947a
Cleanup: redundant function call
2019-05-09 12:42:05 +10:00
Campbell Barton
8af8b1862f
Cleanup: use __doc__ instead of bl_description
...
In keeping with other Python operators,
also assign object a variable.
2019-05-09 12:42:05 +10:00
Pablo Vazquez
8f1951f555
UI Particles: Move message about parting inside Parting panel.
...
Grayout parting settings if using virtual parents, and minor layout
adjustment: align min and max sliders together.
2019-05-09 01:54:07 +02:00
Clément Foucault
60aede44ba
Cleanup: DRW: Remove DRW_pass_free
2019-05-09 01:08:17 +02:00
Clément Foucault
e2d04229c3
DRW: Remove support for NormalMatrix
2019-05-09 00:27:11 +02:00
Clément Foucault
1a99b6fc7e
Fix T64158 Eevee: Mixed SSS shader becomes brighter and brighter
...
This change the logic a bit, when 2 bsdfs using SSS are mixed, we use the
one with the biggest radius (on a per pixel basis).
This change from previous behavior which was to select input 1 if radius
was greater than 0.
2019-05-09 00:10:29 +02:00
William Reynish
558017d6a6
Fix T64334: T-key error-message in Dopesheet source list
...
The Dopesheet doesn't have a toolbar, yet the source list region still had a keymap entry for it
2019-05-08 23:34:10 +02:00
Clément Foucault
c995eb1f9f
Cleanup: GPUShader: Remove unused edge fancy shader
2019-05-08 23:28:07 +02:00
Clément Foucault
9489fea07b
GPU: Refactor some shader for a bit more efficiency
...
Remove matrices multiplication and use more correct codestyle for variables
2019-05-08 23:28:07 +02:00
Clément Foucault
7ec7888ff3
Eevee: Fix Tangent vectors using NormalMatrix and make them world space
...
Making them world space by default remove a lot of legacy conversion from
viewspace.
2019-05-08 23:28:06 +02:00
Clément Foucault
c9537ee5c3
Overlay: Remove use of NormalMatrix
2019-05-08 23:28:06 +02:00
Bastien Montagne
8204675689
UI messages: Rename 'Light' to 'Lite' for compression method.
...
While not exactly optimal, that's the only disambiguation solution I
found doable for translations (i18n). ID names tend to sneak
everywhere, including in places where we have no access to i18n context
currently (like menu labels e.g.).
Other alternative would have been to use 'Lightweight', but that is a
tad too long, we love short UI messages as much as possible.
The genius who decided that it was critical to rename ID lamp to light
in 2.8 is welcome to find a better solution...
Part of T43295.
2019-05-08 22:30:25 +02:00
Bastien Montagne
1ac0254cfa
I18n: Disambiguation for 'Cycles' used also by some anim modifier.
...
Part of T43295.
2019-05-08 22:30:25 +02:00
Clément Foucault
733811330c
Workbench: Use common_view_lib and remove NormalMatrix usage
...
This is in order to lower the number of matrices to compute.
2019-05-08 22:08:20 +02:00
Clément Foucault
a8a11d3537
Mesh Batch Cache: Fix crash when comming from eevee to wireframe mode
...
And add check in debug build.
2019-05-08 22:01:34 +02:00
Clément Foucault
f2f62b184c
DRW: Remove WorldNormalMatrix
2019-05-08 20:13:32 +02:00
Clément Foucault
bb41626ab3
Eevee: Remove uneeded normalization
2019-05-08 20:13:32 +02:00
Clément Foucault
7e380fd46a
GPU: Remove GPU_INVERSE_NORMAL_MATRIX
...
The end goal for this is to lower the number of needed matrices.
This also cleanup some uneeded transformation.
2019-05-08 20:13:32 +02:00
Clément Foucault
24aeb479be
Overlay Mode: Use common_view_lib
...
This is in order to centralize all matrices transformations.
2019-05-08 20:13:32 +02:00
Brecht Van Lommel
c358da6b21
Defaults: change default settings in a few editors
...
* Timeline has summary collapsed to show only one row of keyframes.
* Cavity default is screen space curvature (faster).
* Scripting workspace text editor uses syntax highlight and line numbers.
* Marker lines enabled by default in all animation editors.
* Movie clip editor pivot point default to median.
Ref T63986.
2019-05-08 18:19:26 +02:00
Pablo Vazquez
275218b205
Theme: tweak source list background color for animation editors.
...
Helps to avoid blending with the timeline out-of-range area, match region
background and scrubbing area as well.
2019-05-08 18:10:07 +02:00
Clément Foucault
3d759e2b09
Cleanup: DRW/GPU: Remove eye vector uniform
2019-05-08 17:52:49 +02:00
Clément Foucault
901026c493
Cleanup: Remove BKE_MESH_BATCH_DIRTY_MAYBE_ALL
2019-05-08 17:52:49 +02:00
Clément Foucault
55173b1583
Cleanup: draw_common: Use switch instead of ifs
2019-05-08 17:52:49 +02:00
Clément Foucault
aec717cd61
Cleanup: Mesh Batch Cache: Remove unused BKE_MESH_BATCH_DIRTY_SCULPT_COORDS
2019-05-08 17:52:49 +02:00
Clément Foucault
cca941f614
Cleanup: GPUShader: Use switch instead of ifs
2019-05-08 17:52:48 +02:00