Campbell Barton
174acd9ca3
Fix T59210: Measure tool crash w/o overlays/gizmos
2018-12-12 10:44:04 +11:00
Campbell Barton
ff108aac63
Fix rulers being removed on click
2018-12-12 10:04:24 +11:00
Campbell Barton
c0b7bdd38b
Revert "Tweak UI message of Ruler tool."
...
This reverts commit 1bf0a4f4d0 .
This is a bug, clicks shouldn't remove rulers since it's too easy
to accidentally click instead of dragging.
2018-12-12 09:52:52 +11:00
Campbell Barton
220ab6290e
Fix toolbar key-accelerator w/ LMB select
...
Tweak events were masking hotkey access.
Reported in T55162
2018-12-12 09:40:37 +11:00
Ray Molenkamp
d1237d24ca
Merge remote-tracking branch 'origin/master' into blender2.8
2018-12-11 15:14:00 -07:00
Ray Molenkamp
ba8d6ca3dd
dependencies windows: Replace pthreads-win32 2.9.1 with pthreads4w 3.0.0
...
maintenance seems to have stopped for pthreads-win32
2018-12-11 15:12:56 -07:00
Clément Foucault
5049322e62
GPUState: Change isolated glLineWidth usage to GPU_line_width
2018-12-11 23:05:36 +01:00
Clément Foucault
b7933cc601
GPUTexture: Add debug print for cubemap textures
2018-12-11 22:30:41 +01:00
Clément Foucault
70d38a996e
GPUTexture: Fix memory statistics not working for Multisamples textures
...
and also output the vram footprint of the texture at the creation.
Also output the full texture memory usage if alloc fails.
2018-12-11 22:10:16 +01:00
Clément Foucault
c541f3abef
DRW: Fix redundant texture creation
2018-12-11 21:25:17 +01:00
Clément Foucault
bf2e0c7598
GPUState: Remove glLineWidth warnings about size 0x0
2018-12-11 21:15:50 +01:00
Clément Foucault
0ba02c6e9e
GPUTexture: Add debug output to check what texture was created
2018-12-11 21:15:50 +01:00
Harley Acheson
73b19bfb27
UI: fix enum icon buttons haveing different size.
...
The alignment makes it so the button edges overlap, now one pixel is removed
to account for this.
Differential Revision: https://developer.blender.org/D4063
2018-12-11 20:46:39 +01:00
Mal Duffin
4bf2530952
FFmpeg: enable multi-threaded encoding of multiple frames, for a ~20% speedup.
...
This enables ffmpeg to encode each frame in its own thread. However in most
cases Blender does not pass frames to ffmpeg fast enough to actually use the
more than two threads. In some tests the speed was measured to be about 20%.
If other parts of the video sequencer get optimized, this should improve.
Differential Revision: https://developer.blender.org/D4031
2018-12-11 20:44:10 +01:00
Alexander Gavrilov
48a3f97b23
RNA: provide access to bone parent transform math from Python.
...
Applying the effect of bone parent is much more complicated than
simple matrix multiplication because of the various flags like
Inherit Scale. Thus it is reasonable to provide access to this
math from Python for complicated rest pose related manipulations.
The simple case of this is handled by Object.convert_space, so
the new method is only needed for complex tasks.
Differential Revision: https://developer.blender.org/D4053
2018-12-11 20:40:51 +03:00
Clément Foucault
4de5478409
Edit Mesh: Make edit cage stick to the mesh when possible
...
and correctly offset it when it's not possible, otherwise we get zfighting.
2018-12-11 18:21:12 +01:00
Clément Foucault
1b8e1bb635
DRW: Add polygon offset mode.
2018-12-11 18:18:36 +01:00
Clément Foucault
2a6bc4a82c
Fix T58266 : Bottom half of meshes are transparent with eevee render
2018-12-11 16:21:17 +01:00
Sergey Sharybin
4d115f2159
Merge branch 'master' into blender2.8
2018-12-11 15:56:04 +01:00
Sergey Sharybin
66d8bfb85c
Update code to be compatible with OIIO 2.0
...
There are some changes in API of OpenImageIO, but those are quite
simple to keep working with older and newer library versions.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D4064
2018-12-11 15:50:02 +01:00
Philipp Oeser
54e1d38157
Fix T59001: UV Editor - Crash when hiding all UVs while 3D view is open
...
and sync selection enabled
Reviewers: brecht
Maniphest Tasks: T59001
Differential Revision: https://developer.blender.org/D4066
2018-12-11 15:39:43 +01:00
Philipp Oeser
eb83efb6d1
Implement BMesh.from_object
...
Fixes T59069
Reviewers: sergey, brecht
Maniphest Tasks: T59069
Differential Revision: https://developer.blender.org/D4065
2018-12-11 15:20:48 +01:00
Brecht Van Lommel
f60018e425
Merge branch 'master' into blender2.8
2018-12-11 15:18:43 +01:00
Brecht Van Lommel
84b02dc54a
Cleanup: remove accidentally committed debug code.
2018-12-11 15:18:15 +01:00
Sergey Sharybin
ece109dd60
Cycles: Add strict assert when assigning input socket stack offset
2018-12-11 14:34:52 +01:00
Sergey Sharybin
b45b082531
Cycles: Remove old nasty workaround
...
It used to be used for some sort of ignoring automatically
generated bump nodes. But nowadays it causes one of the shaders
in Classroom demo file to be compiled wrong.
2018-12-11 14:34:52 +01:00
Brecht Van Lommel
765795aed7
Fix macOS buildbot build, wrong CUDA version check.
2018-12-11 14:16:48 +01:00
Sergey Sharybin
39d24ffccb
Cycles: Cleanup, indentation
2018-12-11 12:57:57 +01:00
Sergey Sharybin
d415b5c7b8
Fix crash in do-versions after recent changes
...
No one can simply go into a datablock before it was linked.
2018-12-11 12:44:29 +01:00
Sergey Sharybin
48225a4658
Proper fix for building without Bullet
...
Stick to an existing way of dealing with disabled feature.
2018-12-11 12:37:04 +01:00
Sergey Sharybin
49b5d45118
Fix T59174: Missing particles update
2018-12-11 11:15:12 +01:00
Philipp Oeser
e4153946ad
Fix T59005: no FCurve cleanup in the Timeline
...
as opposed to the 'real' Dopesheet e.g. keyframes were not merged when
placed on the same frame
Reviewers: brecht, aligorith, angavrilov
Maniphest Tasks: T59005
Differential Revision: https://developer.blender.org/D4061
2018-12-11 09:27:04 +01:00
Campbell Barton
d421f3cac8
Fix T53166: Shift click gizmo axis lock broken
2018-12-11 16:42:00 +11:00
Campbell Barton
c7ec1fa5e6
Cleanup: use BKE_object_* prefix for object API
...
Also minor style cleanup.
2018-12-11 15:09:09 +11:00
Campbell Barton
7fe3d1e7d7
Fix T57934: non-empty duplicators don't render
...
Convert non-empty duplicators to empties.
2018-12-11 15:02:58 +11:00
Campbell Barton
8216e9f8a2
DNA: version patch Camera.drawsize to twice it's value
...
Draw size represented half the actual size used.
2018-12-11 14:42:50 +11:00
Campbell Barton
42126bdf06
Merge branch 'master' into blender2.8
2018-12-11 14:05:16 +11:00
Campbell Barton
6bc828ed87
Fix T59161: Edge Rotate CW is CCW
2018-12-11 14:03:42 +11:00
Campbell Barton
53928f479c
Gizmo: update camera ortho-size
...
This needs to be improved further,
for now it shows in the right location.
2018-12-11 13:19:44 +11:00
Campbell Barton
65b930af39
Merge branch 'master' into blender2.8
2018-12-11 13:10:56 +11:00
Campbell Barton
908b6d8be3
Fix T52051: Orthographic camera display size error
...
It was impractical to create a small orthographic camera with a usable
size in the view-port.
No longer scale the draw-size by ortho-size.
2018-12-11 13:05:32 +11:00
Campbell Barton
9a8b6d51c1
Fix T58850: NDOF navigation guide not shown
2018-12-11 12:35:18 +11:00
Clément Foucault
3dfbb72b29
Workbench: Fix shadow artifact caused by degenerate triangles
...
Fixes T58735 Incorrect workbench shadow from n-gons
This also optimize the degenerate triangle detection by searching if
their area is near 0.0.
2018-12-11 01:25:45 +01:00
Campbell Barton
a49fdbcc67
Fix building w/o bullet
2018-12-11 10:13:05 +11:00
Clément Foucault
8c8e9b5586
DRW: Deprecate / Remove DRW_STATE_STIPPLE_*
...
This was unused and used the old drawing paradygm
2018-12-10 23:17:20 +01:00
Clément Foucault
1d23024014
Object Mode: Make point clouds a bit less like uniform blobs
...
Also this display is optimized. It does not use blending and pixel discard.
Working with scanned data should be more pleasant with this.
A better option would be to use gl_FragDepth to have a better sense of
volume but this discards early depth test.
2018-12-10 23:17:20 +01:00
Antonioya
bfb9680e9e
GP: Fix problems with stroke Caps
...
Now the start cap is done and during drawing the end cap is not set because needs to have a UV calculated and this is not done while drawing.
2018-12-10 20:18:45 +01:00
Antonioya
33785baafe
GP: Set Brush default material when add new GP Object
...
Before the brush color was not set equal to object active color.
2018-12-10 20:18:22 +01:00
Antonioya
18d354a5eb
GP: Remove Object Onion Skin switch
...
It was confusing to have two switches.
2018-12-10 20:18:15 +01:00
Antonioya
2debee96ec
GP: Replace Clamp icon
2018-12-10 20:18:10 +01:00