Campbell Barton
e960920f2f
UI: decorator color button assert
...
Also set 'all' argument based on the RNA-index
(even though it worked, better set to correct value).
2018-06-17 12:15:32 +02:00
Campbell Barton
ab20901c9e
Cleanup: codestyle
2018-06-17 12:03:22 +02:00
Campbell Barton
43ce201125
Merge branch 'master' into blender2.8
2018-06-17 11:57:49 +02:00
Campbell Barton
42103a3eb8
CMake: add missing headers
2018-06-17 11:56:20 +02:00
Campbell Barton
2f1e34cfcc
Cleanup: use clamp_* from BLI_math (replace macro)
2018-06-17 11:50:56 +02:00
Clément Foucault
fe98124a98
Custom Hdri: Use same AntiAliasing as Matcaps
2018-06-16 23:28:39 +02:00
Clément Foucault
b503dd7747
StudioLights: Fix preview icon.
...
Use same antialiasing method as the matcaps and fix the normal computation.
2018-06-16 23:28:39 +02:00
Clément Foucault
48adf90367
Matcap: Make matcap preview the same size as the other StudioLights
2018-06-16 23:28:39 +02:00
Clément Foucault
224daf55ac
Matcaps: Add AntiAlias alpha mask to icon preview.
2018-06-16 23:28:39 +02:00
Clément Foucault
0332d338ea
Studio Light: Fix typo
2018-06-16 23:28:39 +02:00
Clément Foucault
4a2c58e077
Outlines: Don't draw Xray mode outlines in material or render mode
2018-06-16 23:28:39 +02:00
Campbell Barton
c21499ba4a
UI: show decorator icon for static-override
2018-06-16 18:27:04 +02:00
Bastien Montagne
3b7f630a54
Merge branch 'master' into blender2.8
2018-06-16 18:02:50 +02:00
Bastien Montagne
dc1c820b2b
Cleanup: remove BLI_frand from GreasePencil code.
2018-06-16 18:02:23 +02:00
Campbell Barton
0a8e6b48c4
Correct assert in recent changes
2018-06-16 17:31:37 +02:00
Campbell Barton
3cf239ccfa
UI: support dragging to key-frame
2018-06-16 16:29:05 +02:00
Campbell Barton
d8c2c63c00
UI: Add property decorator buttons
...
When use_property_split is enabled, this template adds
buttons to set keyframes, (Alternative to showing color).
See: T54951
2018-06-16 16:28:42 +02:00
Bastien Montagne
ace8ad861d
Fix T55427: Removing Vertex Group used by Data Transfer Modifier results in crash.
...
Only fixing crash, proper handling (a.k.a remapping) of all
possible cases here, for all possible data layers, is rather involved...
2018-06-16 16:22:00 +02:00
Campbell Barton
8f2acda7d7
Merge branch 'master' into blender2.8
2018-06-16 16:16:53 +02:00
Campbell Barton
35c71aed25
UI: refactor drag-toggle for other button types
2018-06-16 16:04:26 +02:00
Clément Foucault
ce80e00a7c
Edit Mesh: Simplify the overlay shader.
...
Remove all the clip cases and just pass the vertices screen position to the
fragment shader.
This does put a bit more pressure on the fragment shader but it seems to be
faster than before. And it simplify the code a lot.
It seems to fix some long standing issue on some intel GPU.
2018-06-16 15:49:16 +02:00
Clément Foucault
d45d094378
Edit Mode: Fix bad display of edges when limit selection mode is Off.
2018-06-16 15:49:16 +02:00
Campbell Barton
73abca1da0
UI: minor changes from 2.8
...
- Option to skip multi-data edits.
- Open hold buttons on drag.
- Utility function to set default value.
2018-06-16 15:44:13 +02:00
Ray Molenkamp
9d876960e8
This option limits visibility of the glew.h header to just bf_gpu and intern_gawain
...
this is to highlight areas in the code that still directly do opengl calls or use
opengl types.
This is in preparation for supporting alternative rendering back-ends.
Reviewers: brecht, fclem
Differential Revision: https://developer.blender.org/D3304
2018-06-15 20:17:16 -06:00
Brecht Van Lommel
01f576e87b
Merge branch 'master' into blender2.8
...
The Eevee AO node supports the new Normal socket, but ignores Distance,
Samples, Inside and Only Local settings.
2018-06-15 23:16:49 +02:00
Lukas Stockner
799779d432
Cycles: change Ambient Occlusion shader to output colors.
...
This means the shader can now be used for procedural texturing. New
settings on the node are Samples, Inside, Local Only and Distance.
Original patch by Lukas with further changes by Brecht.
Differential Revision: https://developer.blender.org/D3479
2018-06-15 22:16:06 +02:00
Campbell Barton
469408de72
UI: fix redundant scrolling in the redo panel
2018-06-15 21:05:49 +02:00
Campbell Barton
0ff87e3a60
Cleanup: code style
2018-06-15 20:55:37 +02:00
Campbell Barton
e3d88b021c
Edit Mesh: tweak vertex size & edge width
...
- Vertex size now matches the theme setting.
- Edge width is closer to a single pixel line.
- Face dot was scaled up to be drawn as a circle,
but is currently a square.
2018-06-15 20:11:35 +02:00
Campbell Barton
2291ce9f1f
Merge branch 'master' into blender2.8
2018-06-15 19:12:44 +02:00
Campbell Barton
2b9edbc98b
WM: suppress drag events if motion is handled
2018-06-15 19:09:43 +02:00
Bastien Montagne
ecc57e7524
Merge branch 'master' into blender2.8
2018-06-15 17:43:18 +02:00
Bastien Montagne
d645b1a78a
Cleanup: some more G.main removal.
...
We are really starting to scratch the last bits here...
2018-06-15 17:42:17 +02:00
Jeroen Bakker
9c629b06bf
Workbench OpenGL render: always render alpha on 1.0
...
Old implementation rendered alpha to 0.0 for background, but only during
deferred rendering. We should attach this to an DNA setting and also let
the forward shading respect this. But for now this is a better default
2018-06-15 17:42:11 +02:00
Bastien Montagne
49915e3241
Cleanup: validate G.main's in creator code.
...
Using G_MAIN here is valid!
2018-06-15 17:36:44 +02:00
Bastien Montagne
3e4bf31327
Cleanup: G.main removal from 2.8-only code.
2018-06-15 17:33:24 +02:00
Bastien Montagne
5b6ae0523e
Merge branch 'master' into blender2.8
2018-06-15 17:25:41 +02:00
Sergey Sharybin
ca2be6912d
Hair editing: Use original object's particles for drawing
...
This allows to rely on brush to update children positions,
and avoid tag of object. Makes it way faster to comb with
children enabled.
2018-06-15 17:23:49 +02:00
Sergey Sharybin
5ac7068c5f
Hair editing: Multi-thread various parts
...
Currently focused on making parts which are a bottleneck for Spring,
to make things fast as possible. There are surely lots of places
where threading is not currently done, but we can keep doing this,
maybe even with help from the community :)
2018-06-15 17:23:49 +02:00
Sergey Sharybin
acdbf71578
Hair editing: Only tag Copy-on-Write when children are enabled
...
Without children we only need to update batch cache. This way
we don't re-evaluate the whole modifier stack just to perform
child particles redistribution.
2018-06-15 17:23:49 +02:00
Bastien Montagne
da9b1b14ed
Cleanup: some more G.main removal/validation...
2018-06-15 17:21:07 +02:00
Sybren A. Stüvel
ed3d693cb1
Dependency graph fixes for RigidBodyWorld
...
- rbw->group added to the depsgraph.
- Mesh evaluation added when necessary.
- Prevent of double-free by freeing the scene before objects.
2018-06-15 17:15:42 +02:00
Campbell Barton
43d22d80e7
Keymap: use click event for tab-key
...
Checking release events would toggle edit-mode during alt-tab
cycling on X11.
Now both press and release events are needed.
2018-06-15 17:10:40 +02:00
Jeroen Bakker
d148514821
Workbench: Disable AA when doing opengl render.
...
- OpenGL uses linear space and has its own AA. So we don't calculate
when doing opengl rendering.
2018-06-15 16:50:34 +02:00
Dalai Felinto
badb700161
Fix T55443: Manipulators not refreshing
2018-06-15 15:45:21 +02:00
Campbell Barton
0b8c2eed75
Merge branch 'master' into blender28
2018-06-15 15:42:42 +02:00
Campbell Barton
8166d0affd
Cleanup: warning
2018-06-15 15:42:31 +02:00
Jeroen Bakker
e552247489
MeshEditMode: refactor
...
- added a lib for shaded functions
- decreased active face inner size
2018-06-15 15:37:13 +02:00
Dalai Felinto
86a2f4a34a
Fix crash with x-ray and redo panel
...
Code was assuming any area with region data was the main one.
This is no longer the case.
2018-06-15 15:01:28 +02:00
Howard Trickey
b84fad2ba3
Fix T55490, intersect two triangles fails.
...
Need to use the 'use_partial_connect' option in island connect,
so changed signatures of various functions to pass that into and
then down from BM_mesh_intersect (making true for intersect, false
for boolean).
Then fix bm_face_split_edgenet_partial_connect to work when
input edges are not necessarily wire, but at least not in the
face they are being connected in. That caused generalization
of core BM_vert_separate_hflag_wire (which is only used in
this one place in all Blender).
2018-06-15 08:48:45 -04:00