Jacques Lucke
684739c6f9
Fix: missing cache invalidation when the active vertex group changed
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3716
2018-09-21 16:20:32 +02:00
Clément Foucault
d2dba449fe
Edit Mesh Mode: Increase Face dot Z bias
2018-09-21 15:45:03 +02:00
Clément Foucault
37fea2c0f0
Edit Mode: Merge Xray and "Limit selection to visible" options behaviour
...
We now treat Xray as being the mode where Limit selection to visible is off.
If Xray is OFF, Limit selection to visible is considered ON.
To allow 'see through wires' with solid shading (not Xray shading) we still
draw solid shading if Xray is ON with Xray Alpha set to 1.0.
2018-09-21 15:45:03 +02:00
Clément Foucault
3523958de9
DRW: Add back wireframe mode
...
This is using the existing engine (workbench forward) with 0.0 xray_alpha
and forcing wireframes on all objects.
There is no workflow/shortcut changes in this commit.
2018-09-21 15:45:03 +02:00
Sergey Sharybin
6934b246d1
Cleanup: Inetnation
2018-09-21 15:35:34 +02:00
Sergey Sharybin
5ee0200d43
Multires: Support masks propagation to higher levels
2018-09-21 15:31:44 +02:00
Sergey Sharybin
cec4c77719
Multires: Copy mask from sculpt to multires
...
Allows to paint mask in sculpt mode, then go out of sculpt
mode, come back and see proper mask.
2018-09-21 15:31:43 +02:00
Sergey Sharybin
b32832a7e8
Subdiv: CCG, initialize grid mask from paint mask
2018-09-21 15:31:43 +02:00
Sergey Sharybin
da800621ed
Subdiv: CCG, cleanup
2018-09-21 15:31:43 +02:00
Bastien Montagne
6a7914b73e
Re-enable FBX add-on.
2018-09-21 15:15:08 +02:00
Brecht Van Lommel
06dc059f48
Depsgraph: update frame in scene on frame change.
...
Normally the time can be read from DEG_get_ctime(depsgraph), but this is a
bit more forgiving for e.g. addons that don't care too much about the details
of the COW depsgraph.
2018-09-21 14:15:27 +02:00
Brecht Van Lommel
4494be513a
Fix smoke to render in Cycles again.
...
Viewport caching seems still broken, though baking works.
2018-09-21 14:15:27 +02:00
Antonioya
b7035cb8bd
GP: Change canvas titles
...
These changes are to harmonize names.
2018-09-21 14:10:40 +02:00
Brecht Van Lommel
cfb7565cd5
Cleanup: convert smoke modifier from DerivedMesh to Mesh.
2018-09-21 13:56:22 +02:00
Brecht Van Lommel
91a5b665b0
Cycles: keep material settings panel closed by default.
2018-09-21 13:56:22 +02:00
Jacques Lucke
0192f0b1e4
Revert "Fix: setUp of ID Property tests failed"
...
This reverts commit 52cee1a23c .
2018-09-21 12:54:43 +02:00
Jacques Lucke
52cee1a23c
Fix: setUp of ID Property tests failed
2018-09-21 12:51:06 +02:00
Sergey Sharybin
9ecce9b4c4
Subdiv: Fix crash subdividing mesh withotu faces
2018-09-21 12:18:50 +02:00
Sergey Sharybin
12372e8d8b
Multires: Support sculpting on a lover levels
...
Added propagation of displacement to a higher levels.
Has the same limitation as reshape from object, which makes
grids somewhat choppy due to linear interpolation nature.
This is to be addressed next.
2018-09-21 11:43:42 +02:00
Sergey Sharybin
619c55027f
Multires: Fix reshaping from object at lower level
...
This brings basic implementation of displacement propagation
to a higher levels. Currently does linear interpolation between
grid points at which reshape happened. It makes results a bit
choppy, proper solution would be to use some interpolation
weights from the limit patch.
2018-09-21 11:24:33 +02:00
Brecht Van Lommel
495c7463fc
UI: fractional DPI scaling of splash, instead of always 1x or 2x.
2018-09-21 10:46:08 +02:00
Antonioya
87bbf4439d
GP: Fix select tools from toolbar error
...
The operators used were not the right ones.
2018-09-21 10:30:05 +02:00
Bastien Montagne
c71db48b27
Fix minor typo in comment.
2018-09-21 10:08:42 +02:00
Antonioya
cf34c165ea
GP: Convert lock axis to popover
2018-09-21 08:51:25 +02:00
Campbell Barton
391536ef12
Fix missing edge in shape-to-wire utility
2018-09-21 16:09:32 +10:00
Campbell Barton
7a3474ddfd
Gizmo: spin tool XYZ axis toggles
...
New handle type for initial spin,
gives clear differentiation between do & redo (similar to extrude).
Some tweaks still required to match T56571.
2018-09-21 13:48:22 +10:00
Campbell Barton
3266ebf9e5
Gizmo: enable spin tool redo gizmos again
...
- Add x,y rotate and translate controls.
- Remove x-depth adjustment.
2018-09-21 13:34:29 +10:00
Campbell Barton
7deb38eec6
Gizmo: fix incorrect dial clip scaling
...
Failed with obvious error when the dials scale wasn't 1.0
2018-09-21 10:30:55 +10:00
Dalai Felinto
fbc837b2f8
Updated gpu.types.GPUOffscreen.py example file
...
The image I get is a bit too dark, which is the same I get in the viewport
itself when there is no Display Device. So I believe for cases like this
we need to have color management on top of the buffer.
Also, on EEVEE it looks like it needs to clear some extra buffers. You can see
that, by rotating the camera view around.
That said, this is the first step to bring back fun addons
that use external offscreen buffers.
Note: When using gpu offscreen with POST_VIEW (as oppose to POST_PIXEL)
I get a crash with DST having 0xFF..
2018-09-20 22:21:19 +00:00
Campbell Barton
5340e9ac1b
Merge branch 'master' into blender2.8
2018-09-21 08:18:23 +10:00
Campbell Barton
0a968510bf
Cleanup: style, use raw strings
2018-09-21 08:15:46 +10:00
Campbell Barton
08c7733c13
Cleanup: style
2018-09-21 08:11:50 +10:00
Dalai Felinto
fb88088203
Preserve the actively bound framebuffer after using gpu.offscreen
...
Otherwise we cannot draw anything after drawing in the offscreen buffer
2018-09-20 21:43:08 +00:00
Antonioya
5e2c032f1a
GP: Change lock axis property text
2018-09-20 22:51:56 +02:00
Antonioya
5e5a950dca
GP: Rename origin to stroke placement
2018-09-20 22:51:34 +02:00
Dalai Felinto
425cfdd5be
GPU Python API: shader.uniform_float
...
The existing alternative is to use a buffer and call
uniform_vector_float which is overkill for such a simple operation.
2018-09-20 19:51:06 +00:00
Dalai Felinto
e316e41f84
Typo on pydoc for uniform_int
2018-09-20 19:49:08 +00:00
mano-wii
f0149bc070
gpu.batch module: keep shader reference in batch.
2018-09-20 16:38:43 -03:00
mano-wii
9fb9604c19
gpu.shader module: Do not free builtin shaders.
2018-09-20 15:21:59 -03:00
Sebastian Parborg
d0eed5e50a
Texture Paint: unify missing data and slots panels, better auto position nodes.
...
Differential Revision: https://developer.blender.org/D3694
2018-09-20 19:54:33 +02:00
Brecht Van Lommel
09ea940e7b
Fix missing Eevee volume panel in material tab.
2018-09-20 19:28:56 +02:00
Brecht Van Lommel
1a0181bb6d
UI: add support for defining any icon as a mono icon.
...
Previously it was hardcoded to one row. These icons are colored with the
text color. Changes include some refactoring.
2018-09-20 19:15:41 +02:00
Brecht Van Lommel
decc323b4e
UI: default to single icon column toolbar in new 3D views.
2018-09-20 19:15:01 +02:00
mano-wii
9c2dc808ce
gpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE.
2018-09-20 13:55:43 -03:00
Antonioya
4264cee921
GP: Cleanup unused code
2018-09-20 18:52:57 +02:00
Antonioya
963d668a03
GP: Move origin selector to center and convert to popup
2018-09-20 18:50:19 +02:00
Antonioya
ce1b57227d
GP: Add new popover with layers panel
2018-09-20 18:50:19 +02:00
Clément Foucault
b8d55a570e
GPUCodegen: Remove unnecessary GLEW_VERSION_3_0 checks
2018-09-20 17:53:47 +02:00
Clément Foucault
667add5fc5
Eevee: Implement Wireframe Node
...
This implementation is a bit hacky but match cycles pretty close.
If pixel size is not enabled, it will use the geom shader to
compute distances between vertices. This will have a cost.
Implementation is a bit hacky in gpu_codegen to make the geom shader works
in an optional manner.
2018-09-20 17:53:47 +02:00
mano-wii
5c20161f81
Fix compilation error in the stick bones shader for some Intel gpus.
2018-09-20 12:11:23 -03:00