Commit Graph

84473 Commits

Author SHA1 Message Date
27e77d4f9c Fix Alembic indexed UVs being merged for different vertices.
Other software uses this to define UV islands, so we can't just merge
any UVs with the same coordinate. They have to share a vertex too.

Contributed by Maxime Robinot, with changes by me.

Differential Revision: https://developer.blender.org/D4006
2018-12-07 00:19:53 +01:00
5fdf739e7f Fix T58898: Python error clicking in empty space in text edit mode. 2018-12-06 23:44:21 +01:00
7e722afc62 3D View: hide pose bones w/o overlays
Part of T58690
2018-12-07 09:28:32 +11:00
6aad5de58b Docs: hint to why we have option to toggle bones
Without this, it might seem redundant since there is an option
to toggle armature object display.
2018-12-07 08:49:01 +11:00
cccc40db51 Fix T57963: Cycles crash using AO for displacement.
Note this is not supported, there exists no geometry at this point, but
it should not crash at least.
2018-12-06 19:50:05 +01:00
234c112971 Fix T58223: curve tilt not working correct with left click select. 2018-12-06 19:26:39 +01:00
828c4d1c54 Fix T58863: 'Smooth/Flat Shading' to 'Shader Smoot/Flat' in context menu 2018-12-06 16:19:29 +01:00
50d26e7c78 Speedup: optimize DNA_elem_array_size to speedup file loading
Reviewers: brecht

Differential Revision: https://developer.blender.org/D4037
2018-12-06 15:50:01 +01:00
39efb58446 GPU Framebuffer: simplify gpu_framebuffer_update_attachments_and_fill_empty_slots func 2018-12-06 11:47:37 -02:00
c8467ccc8d Fix T58310: Crash when removing multires modifier from sculpt object 2018-12-06 15:22:21 +01:00
b0726b31e6 DRW: Mesh: Make uvs use the final mesh display 2018-12-06 14:43:09 +01:00
b576e14902 DRW: Fix Uvs not working in solid mode + edit mesh 2018-12-06 14:42:25 +01:00
da7f00b9c9 GPU Extensions: unused_fb_slot_workaround: Compare only the driver.
Dozens of renderes are included.
2018-12-06 10:05:42 -02:00
32d50858c3 Fix T58663: UV Align Auto does nothing
one case was missing in cleanup commit rB8fc6609cc008
2018-12-06 13:18:13 +01:00
Sebastian Parborg
e850ae14ee Fix T58659: absolute grid snapping wrong with custom grid scale.
Differential Revision: https://developer.blender.org/D4039
2018-12-06 13:06:00 +01:00
50b0448bd3 Fix T58840: SHIFT+K in vertex paint doesn't update 2018-12-06 13:00:31 +01:00
4c336f034e Draw manager: Use render view transform as default 2018-12-06 12:31:58 +01:00
7ed8e9167d Color management: Use default view with no extra transform when not specified 2018-12-06 12:31:50 +01:00
005e6274ad Color management: Cleanup, make function name more clear
The idea is to reflect that the view settings are the best
for cases when one wants to see things as if they are a
render result.
2018-12-06 12:31:50 +01:00
0e5f97a3a1 Fix T58816: Color management Display Device other than sRGB crashes
This fixes our workaround for until proper solution is accepted
in upstream.

Now, when default view behaves same as it was supposed to (and
as it behaves in OCIO-1.0.9) it is obvious that our configuration
violates own design -- default view  is used for cases when
images don't want to be displays using "render" settings.
2018-12-06 10:55:31 +01:00
a60536956e Color management: Fix issue when active views/displays are not specified 2018-12-06 09:16:52 +01:00
ca2680aaeb Update relations when modifier texture changes 2018-12-06 09:09:21 +01:00
1f5dd9c437 Fix T58788: Apply Visual Geometry crash 2018-12-06 18:28:32 +11:00
285b06da51 Fix multi-object edit state on load
Objects selected on save would enter edit-mode on file load.
2018-12-06 17:53:59 +11:00
aeffaf75ab Fix knife project, add to mesh menu 2018-12-06 16:52:49 +11:00
6c19412ad1 Fix T58837: "Tab for Pie Menu" lags leaving gpencil edit mode 2018-12-06 16:23:01 +11:00
c39bb6bd58 Fix T58836: Shift-C doesn't update the view 2018-12-06 15:52:12 +11:00
45afcd6b86 Merge branch 'master' into blender2.8 2018-12-06 15:08:42 +11:00
d24cfa329b Fix T58832: Spin tool creates duplicate faces 2018-12-06 14:52:55 +11:00
1cc0705062 Armature: support select-linked deselection
Matches edit-mesh mode.
2018-12-06 14:00:07 +11:00
8afc4cf3ea Fix crazyspace transform w/ armatures 2018-12-06 13:05:35 +11:00
74db65e542 Merge branch 'master' into blender2.8 2018-12-06 11:27:57 +11:00
f6c615a8c2 Fix T58819: Weight paint gradient crash 2018-12-06 11:22:00 +11:00
ffdd5b3699 Fix T56362: sub surface scattering does not work on eevee on radeon hd 7600 series 2018-12-05 21:22:12 -02:00
c0a71b8369 Fix problem with unused color slot in framebuffer on some bugged AMD GPUs
Differential Revision: https://developer.blender.org/D4035
2018-12-05 21:00:08 -02:00
75b739c969 Keymap: only use MMB workaround whe MMB is enabled
Using double-click with selection breaks selection cycling behavior
(making you have to wait to click again to cycle-select the next item).
2018-12-06 10:05:53 +11:00
095f9f26aa Fix T57770: Edit-mesh wireframe cage select fails 2018-12-06 09:38:08 +11:00
05da1d7fb2 Merge branch 'master' into blender2.8 2018-12-06 08:48:43 +11:00
5bc7b9c3c6 Cleanup: unused var, style 2018-12-06 08:45:41 +11:00
5103fa4ae7 DRW: Optimize adjacency data creation a bit
This is a very small improvement and only concerns wireframe update.

My tests.
old 6fps > new 7fps > baseline (wireframe disabled) 10fps
2018-12-05 22:43:15 +01:00
ad2e68b826 Cleanup: no need to access final mesh 2018-12-06 08:37:09 +11:00
d6454a15f7 Merge remote-tracking branch 'origin/master' into blender2.8 2018-12-05 22:05:19 +01:00
3552731551 Fix (devtalk 4053): Collada build with older cmake versions broken 2018-12-05 22:04:10 +01:00
5584cad5d9 GHOST: WGL: Silence Errors when testing opengl context versions 2018-12-05 21:57:49 +01:00
0424ee86f0 Fix T58407: Wire frames are not showing with subdivision surfaces 2018-12-05 21:57:49 +01:00
efe769f3f0 Cleanup: unused function 2018-12-06 07:44:25 +11:00
5ad217fe0a Fix own mistake in recent rB74361eebe68c.
One cannot assign to Class.__dict__, that is not a 'real' dictionnary...

Thanks to @JacquesLucke for noting the issue.
2018-12-05 20:54:02 +01:00
9fa8c01f6b Fix (unreported, related to T58210) LaplacianDeform binding state incorrectly reported by RNA.
LaplacianDeform binding handling is a catastrophee in CoW context,
because half of the binding (the laplacian solver cache thingy) is not
saved, and can be re-generated on the fly from stored vcos.

This means that binding is not only done when hitting 'bind' button, but
also at file load, and when some things change.

And this utterly breaks with CoW design, not sure how to fix, will add a
task about that.

But this also means that NULL laplacian solver cache pointer is not a
good check to know whether it is binded or not, only stored vcos are
relevant for that (and the binding flag, of course).
2018-12-05 20:54:02 +01:00
484389cdcd Fix T58210, Part II: Surface Deform modifier (un)binding is broken.
This fixes/clarifies Surface Deform evaluation code that does the
binding, since that part should only be called outside of depsgraph
evaluation, with orig data-blocks and not CoW ones.

Now we have a decent amount of asserts and checks to ensure eveything
works as expected.

Also had to add a special case to get target's mesh in binding case,
since often target's evaluated mesh is not available, in that case (and
in that case only), we can actually compute that mesh (because we are
out of depsgraph evaluation).
2018-12-05 20:54:02 +01:00
71e2efc4ce Fix T58210, part I: Surface Deform modifier (un)binding is broken.
Binding and unbinding *has* to happen outside of 'normal' depsgraph
evaluation of modifiers now that we have CoW, otherwise persistent data
stored in modifier data are always lost!

Note that this is only first step of the fix, modifiers code needs also
some work. Surfacedeform one is in next commit, Laplacian case is much,
much more complicated to handle, given how it uses its cached data. :(
2018-12-05 20:54:02 +01:00