Campbell Barton
7eecc94074
Cleanup: use uint/uchar types in GPU
2018-09-12 12:19:46 +10:00
Campbell Barton
baca8344d9
Cleanup: use _len suffix
2018-09-12 12:07:35 +10:00
Campbell Barton
ef32be25c1
Fix scale-cage editmode pivot point
2018-09-12 07:27:48 +10:00
Campbell Barton
c350424014
Fix scale-cage refresh w/ view orientation
2018-09-12 07:27:46 +10:00
Campbell Barton
18986160a5
Tool System: show bisect tool options
2018-09-12 06:36:26 +10:00
Clément Foucault
8eedccb3f5
Fix T56752: Tooltip flicker alpha on redraw
2018-09-11 22:11:15 +02:00
Campbell Barton
6c6c3bad02
Cleanup: style
2018-09-12 05:57:31 +10:00
Sergey Sharybin
d495916547
Multires: Fix memory leak on reshape
...
Was happening when number of vertices didn't match.
2018-09-11 17:37:14 +02:00
Clément Foucault
57f9e31bf4
DRW: Convert common theme color to linear for viewport render
...
This is not 100% correct (it should use a transfer function depending
on the display profile) but this is already much better than using srgb.
2018-09-11 17:05:16 +02:00
Sergey Sharybin
3fbdcefa17
Subdiv: Initial implementation of CCG
...
Attempts to substitude CCGDM with an OpenSubdiv based structure
which has less abstraction levels. The missing part in this
substitude is a face pointers which old CCGDM/multires code was
using to stitch faces (averaging boundaries).
Another curial bit missing: "reshaping" of multires CD_MDISPS
to the state of new PBVH grids.
The new code is only available when OpenSubdiv modifier is
enabled (WITH_OPENSUBDIV_MODIFIER=ON) and with debug value of
128. This is so this WIP code is not interfering with current
production machines in the studio.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3685
2018-09-11 16:37:02 +02:00
Clément Foucault
998a804358
DRW: Don't highjack all debug values (cont)
2018-09-11 16:34:52 +02:00
Clément Foucault
1a590c7a1c
DRW: Don't highjack all debug values
2018-09-11 16:27:55 +02:00
Brecht Van Lommel
19082763dd
Fix workspace order and shortcut keys not matching.
2018-09-11 16:21:00 +02:00
Clément Foucault
5a7c3d5a08
Eevee: Prepare for fullres tracing
2018-09-11 16:15:43 +02:00
Clément Foucault
aa5c543a7f
Eevee: Fix downsampling shader with textureGather
...
This was leading to issues with all raytracing and AO algorithm.
Fix T55619
2018-09-11 16:15:43 +02:00
Clément Foucault
766d9c2937
GPUMaterial: Fix issue with coloramp and constant interpolation
...
It was not respecting the clamp to edge texture param because we use
texelFetch directly in this case.
2018-09-11 16:15:43 +02:00
Luca Rood
9ac72ab69d
Cloth: Fix mistake in recent angular bending commit ( b6f0f8a5b5)
...
The angular spring force computation function was being called even in
linear mode, with empty angular springs.
2018-09-11 16:09:45 +02:00
Sergey Sharybin
eaf993ad94
Followup for previous PBVH commit
...
Didn't realize the index buffer is stored once in a BVH
and same pointer is reused. Surprisingly, simple files
were fixed with the previous fix.
Now disabled the optimization all together, and it was
simpler to just completely remove all residue of the
code. It is likely to be a different implementation
anyway, so no need to try to keep code in a semi-broken
state.
2018-09-11 15:34:09 +02:00
mano-wii
cde66d7916
GPUVertBuf.fill: support for objects with buffer interface.
...
Differential Revision: https://developer.blender.org/D3684
2018-09-11 10:03:53 -03:00
Sergey Sharybin
8dde1e13e2
FIx/workaround wrong number of primitives in PBVG grid buffers
...
Nodes can have different number of grids, so can not so simply
re-use index buffer across nodes. For now allow re-using buffer
if number of grids matches.
The issue is, number of grids is probably almost never matches,
so in order to have this optimization working need more tricks.
Maybe we can "instance" index buffers?
2018-09-11 14:45:13 +02:00
Campbell Barton
7951adfb9c
UI: fix redo panel becoming permanently hidden
2018-09-11 22:39:38 +10:00
Brecht Van Lommel
e1178266e7
Workspace: support reordering of workspaces from RMB menu.
...
Drag and drop will follow later, it's a bit complicated to make this work
reliable in the current UI code.
2018-09-11 12:43:28 +02:00
Brecht Van Lommel
6acf8642e5
Cleanup: remove unused GPU code.
2018-09-11 11:53:56 +02:00
Sergey Sharybin
7c64f8537f
PBVH: Fix miossing normals for grids
2018-09-11 11:50:22 +02:00
Antonioya
43abc5dabf
GP: Use original datablock and not evaluated version
...
This is required to avoid COW delay while drawing.
2018-09-11 10:33:29 +02:00
Campbell Barton
65c5abc236
Cleanup: remove dead code
2018-09-11 18:30:55 +10:00
Campbell Barton
b05f9e35cb
Cleanup: unused variables
2018-09-11 18:15:55 +10:00
Campbell Barton
29fa45b695
Correct merge conflict
2018-09-11 17:47:30 +10:00
Campbell Barton
01e6f09001
Merge branch 'master' into blender2.8
2018-09-11 17:45:38 +10:00
Campbell Barton
bf8aac0d49
Cleanup: unused variables
2018-09-11 17:32:21 +10:00
William Reynish
a0581daf75
UI: use property split for motion paths
2018-09-11 16:52:18 +10:00
Campbell Barton
17e57859e7
Error in last commit
2018-09-11 16:37:56 +10:00
Campbell Barton
f34a2af4b3
Fix scale cage tool never using object boundbox
2018-09-11 16:22:30 +10:00
Brecht Van Lommel
45af6b61d9
Merge branch 'master' into blender2.8
2018-09-11 08:03:31 +02:00
Brecht Van Lommel
0276e0e7de
Build: update for new macOS libraries.
...
Run "make update", or "svn update" in lib/darwin to get the matching
precompiled libraries.
2018-09-11 08:02:41 +02:00
Brecht Van Lommel
cd5db90726
Build Environment: updates for macOS.
...
Mainly this is following Linux to build own xml2/lzma/ssl/sqlite and linking
them all statically. This ensures the Python ssl module uses a recent openssl
version rather than a very old one shipped with macOS.
2018-09-11 07:51:17 +02:00
Campbell Barton
0117a4c351
Cleanup: use UI_ prefix for block flag
2018-09-11 15:08:08 +10:00
Campbell Barton
bdf215ca82
Merge branch 'master' into blender2.8
2018-09-11 15:01:41 +10:00
Campbell Barton
6bf003bce0
Correct own error in recent transform orientation changes
2018-09-11 15:00:50 +10:00
Campbell Barton
c317a21a4c
Cleanup: replace magic number
2018-09-11 14:31:19 +10:00
Campbell Barton
a0fdea271b
Workaround T56752: redo panel alpha flicker
...
The bug applies to tooltips, but isn't as noticeable.
2018-09-11 13:50:30 +10:00
Campbell Barton
58a8277098
GPU: utility function to unregister presets
2018-09-11 13:21:47 +10:00
Campbell Barton
0b597bf7b9
UI: use popup draw style for redo panel
2018-09-11 11:22:08 +10:00
Campbell Barton
15bab56fbc
Merge branch 'master' into blender2.8
2018-09-11 11:02:37 +10:00
Campbell Barton
5bb11cfde2
UI: split theme draw style into separate field
...
Was using UI_BLOCK_LOOP to control draw style,
this meant we couldn't use popup theme colors for cases
where it the interface has the same purpose as a popup but happens
not to use this flag.
2018-09-11 10:56:08 +10:00
Campbell Barton
29c2c307f6
UI: workaround for glitch redo panel glitch
2018-09-11 09:20:02 +10:00
Campbell Barton
406554c4db
UI: key binding draw code didn't set line-width
2018-09-11 09:20:02 +10:00
Campbell Barton
a1dda992c0
UI: disable register for insert text
...
Hides redo panel.
2018-09-11 09:20:02 +10:00
Campbell Barton
06ae3d3573
UI: disable register for grease pencil select
...
Avoid showing in redo panel
2018-09-11 09:20:02 +10:00
Dalai Felinto
207483dbfe
Remaining fix for multiple text-boxes
...
As mentioned in d81aeb60fe the alignment for multiple text boxes should all
respect the same overall padding.
Vertical alignment is fully implemented now.
2018-09-10 18:15:36 -03:00