Jeroen Bakker
342dd5a771
Workbench: remove the soft limit for the xray_alpha
2018-06-05 11:45:22 +02:00
Jeroen Bakker
a3815f8777
Workbench: Matcaps T55291
...
- users can use their own matcaps
.config/blender/2.80/datafiles/studiolights/matcap/ folder
- upto 100 matcaps can be loaded
- color of the matcap is influenced by the color of the material/single
color etc. To show the plain matcap use single color at 1.0
- chosing a matcap is at lighting level (flat/studio/matcap)
- matcap only possible in solid mode
- also works for X-Ray mode
As the old matcaps are still in used by the clay engine I didn't remove
it yet.
2018-06-05 11:38:33 +02:00
Campbell Barton
ade710500d
UI: set cursor line width
2018-06-05 11:37:30 +02:00
Campbell Barton
f1a3b68e76
Transform: avoid assert in wpaint mode
2018-06-05 11:31:17 +02:00
Bastien Montagne
b9db470636
Fix stupid mistake in previous commit.
2018-06-05 11:22:43 +02:00
Bastien Montagne
0be9d8db65
RNA/Override: Move override-related property flags to own variable.
...
We are already running out of available flags in main, generic int, and
everytime I work on static override I find new special cases that will
need new specific propflag, so...
2018-06-05 11:11:43 +02:00
Bastien Montagne
99dd3b0156
Baby step towards making overridable materials for objects.
...
Naughty Collections RNACollection of objects is still to be tamed, but
for individual objects should work now....
2018-06-05 11:11:42 +02:00
Campbell Barton
5d628c519b
Transform: improve pose trans/rot/scale guessing
...
Switching the mode was being done per object,
where it should first check all pose bones from all objects.
This also removes code that changes the transform mode
from within the counting function.
This was only needed on transform initialization.
2018-06-05 11:04:12 +02:00
Campbell Barton
0941b8b672
Missing from last commit
2018-06-05 10:13:55 +02:00
Campbell Barton
83db7a0070
Transform: revert use of evaluated objects
...
This is no longer needed.
2018-06-05 09:48:38 +02:00
Campbell Barton
1df228a416
UI: context menu for other editor types
...
D3458 by @billreynish w/ edits.
- Context menu for dope-sheet, graph, image & node editors.
- Add type to contenxt menu header.
- Access with W-Key.
- Change UV-editor weld key binding to Shift-W.
2018-06-05 09:18:00 +02:00
Campbell Barton
80d86f303a
UI: support property split for 'prop_search'
2018-06-05 08:56:14 +02:00
Dalai Felinto
17e9870221
DRW: Fix crashes with instanced data
...
Problem introduced on 101c277e3d .
2018-06-04 19:17:29 +02:00
Campbell Barton
da53c3f020
Merge branch 'master' into blender2.8
2018-06-04 18:50:14 +02:00
Campbell Barton
58e8c71cbd
Cleanup: strip ghost trailing space
2018-06-04 18:47:57 +02:00
Campbell Barton
f6740993f7
Cleanup: strip tests trailing space
2018-06-04 18:47:31 +02:00
Germano
c8af234f85
Fix T55325: Revert "Always get a reference point when snapping with the projected elements option enabled."
...
This reverts commit 0864a4c1ea .
That way it's best for retopology.
2018-06-04 13:33:19 -03:00
Campbell Barton
84becb870f
Merge branch 'master' into blender2.8
2018-06-04 17:58:07 +02:00
Campbell Barton
747534af00
Particle System: move data creation into RNA update
...
Relying on evaluation to initialize data causes issues w/ 2.8.
2018-06-04 17:55:19 +02:00
William Reynish
2b4d2de253
UI: more subpanels for Cycles and Eevee.
2018-06-04 17:36:03 +02:00
Brecht Van Lommel
ce5e9b599c
Fix Python UI error with Eevee and hemi lamps.
2018-06-04 17:36:02 +02:00
Brecht Van Lommel
784a3ccf79
Fix hang rendering with motion blur.
2018-06-04 17:36:02 +02:00
Clément Foucault
101c277e3d
Workbench: Shadows: Fix cap being clipped by far plane.
...
This was the last remaining problem with shadow volumes (that I know of).
Only extrude until we hit the far plane.
2018-06-04 17:33:34 +02:00
Campbell Barton
349d416949
Tool System: refresh tools after undo
2018-06-04 16:41:03 +02:00
Sergey Sharybin
18e8350cd1
Cleanup: Hopefully more clear name
2018-06-04 16:22:36 +02:00
Clément Foucault
bda0175984
DRW: Fix leak from the wireframe drawing.
2018-06-04 16:04:18 +02:00
Clément Foucault
570804882d
Wireframe: Lower line thickness and front color blending.
2018-06-04 16:04:18 +02:00
Campbell Barton
4b5670ac11
Cleanup: redundant headers
2018-06-04 16:03:52 +02:00
Sergey Sharybin
3b4c7a8c9b
Weight paint: Use helper function to get original mesh
...
Makes it one line to get needed mesh, no code duplication. And can easily
update asserts and tighten the nuts.
2018-06-04 15:49:11 +02:00
Sergey Sharybin
0e8edbbc01
Add utility functions to get different "levels" of evaluated/original mesh
2018-06-04 15:48:37 +02:00
Sergey Sharybin
2b22a61152
Depsgraph: Only store original mesh pointer for mesh object
2018-06-04 15:24:41 +02:00
Campbell Barton
52f9023fbf
Fix weight paint crash
...
The PBVH was referencing runtime custom data which was freed on refresh.
2018-06-04 15:18:48 +02:00
Sergey Sharybin
07f0046203
Fix crash when making objects to share same mesh
...
Make it more reliable and predictable way of getting pointer to
an original mesh which came from copy-on-write engine.
Related change: made it (hopefully) more clear name for flags.
2018-06-04 15:17:16 +02:00
Clément Foucault
1dc31f5b98
GPU: Fix missing case of new radeon on xorg.
...
This was causing issue with shader compilation.
2018-06-04 15:15:00 +02:00
Clément Foucault
e47e60a9b9
Workbench: Shadows: Fix the remaining fail case.
...
Non-manifold geom was producing inverted result when the camera was inside
the shadow volume.
When rendering non manifold geometry with the depth fail method, we need to
emit the cap as if it was the same geometry with a virtual thickness.
Another way to view it is to imagine having a set of non-manifold geometry
all facing the light.
So for every tri we emit a front cap oriented toward the light and the
back cap pointing away from it (whatever the actual orientation of the tri).
Extrusion pass stay the same as the depth pass method (double the increment
if it's a manifold edge).
2018-06-04 15:15:00 +02:00
Sergey Sharybin
736a84ec66
Cleanup: Use proper type for original ID pointer
...
Helps debugging, no need to cast in a debugger.
2018-06-04 14:14:14 +02:00
William Reynish
acb5bbf9b2
UI: use subpanels for Cycles, render, scene, object, particle, curves.
2018-06-04 13:44:23 +02:00
Brecht Van Lommel
a46ced5076
Fix missing collection instance motion blur settings.
2018-06-04 13:41:27 +02:00
Bastien Montagne
f430f14df4
Merge branch 'master' into blender2.8
2018-06-04 12:48:03 +02:00
Bastien Montagne
7277f8973b
Fix T55260: load Text File with Python from GUI Button results in 0 User
...
Let's just always ensure user_one when loading text from operator...
2018-06-04 12:46:59 +02:00
Campbell Barton
c2ff37455e
Fix selecting bones
...
Own error w/ recent USE_OBJECT_MODE_STRICT
2018-06-04 12:39:10 +02:00
Campbell Barton
95011f6d48
Merge branch 'master' into blender2.8
2018-06-04 09:39:04 +02:00
Campbell Barton
44505b38df
Cleanup: strip trailing space in editors
2018-06-04 09:31:30 +02:00
Campbell Barton
0911acb5cf
Merge branch 'master' into blender2.8
2018-06-04 09:11:45 +02:00
Campbell Barton
6654e109df
Cleanup: strip trailing space in GPU module
2018-06-04 09:09:12 +02:00
Campbell Barton
5b64301834
Merge branch 'master' into blender2.8
2018-06-04 09:06:14 +02:00
Campbell Barton
2d3d76693a
Cleanup: newlines at EOF for Python modules
2018-06-04 08:54:40 +02:00
Campbell Barton
7719c11006
Cleanup: strip trailing space in Python module
2018-06-04 08:54:40 +02:00
Campbell Barton
854db8951b
Cleanup: strip trailing space in bmesh module
2018-06-04 08:49:47 +02:00
Lukas Stockner
ba65f7093b
Cycles: Cleanup: Don't use return on function returning void
2018-06-04 00:07:17 +02:00