mano-wii
e80527ec4d
DRW manager: Always assume that the GL_DITHER and GL_SCISSOR_TEST should be disabled if not used.
...
This may fix a glitch detected when you perform edited mesh selection.
See comment in rB00bdb5cdf08f
2019-03-27 19:36:12 -03:00
Brecht Van Lommel
c263ccf250
Fix T63023: wrong Eevee window coordinates for background.
2019-03-27 22:32:13 +01:00
Brecht Van Lommel
f589b28f80
Fix part of T63023: wrong Cycles window coordinates for background.
2019-03-27 22:21:23 +01:00
Clément Foucault
780219f868
Eevee: Fix reflection plane weird behavior when comming from lookdev mode
...
The reflection was set to use the 1x1px texture as rendering target and was
considered valid reflection texture.
2019-03-27 22:02:31 +01:00
mano-wii
37e3b89506
Fix T63017: selection via lasso does not work properly in X-ray.
...
Probably missed in rB40f8ddf8297a.
2019-03-27 16:48:49 -03:00
Bastien Montagne
52d5d53b5e
Fix T55956: Transfer Weights: Source Layers can't be set to Active Layer.
...
Behavior of source/destination options was rather flaky in reversed
mode...
Note that even though this mode is a bit annoying and cumbersome, the
only alternative (defining a specific transfer weight operator) would be
much more verbose, so think that for now we'd rather keep what we have
here.
2019-03-27 20:47:56 +01:00
Bastien Montagne
05201c75e3
Cleanup: minor comments fixes.
2019-03-27 20:47:56 +01:00
Clément Foucault
f9a69a481e
Fix T62566 Eevee: Cubemap doesn't bake from current frame of animation
...
This was technically a feature request but it was quite simple to implement
so I did it quickly. Also it is much more consistent now.
2019-03-27 20:47:15 +01:00
Clément Foucault
afaa832a85
Fix T62680 Mirrored objects have flipped binormal vectors in LookDev
...
Pass binormal sign via object info.
2019-03-27 20:21:10 +01:00
Clément Foucault
2add370096
Eevee: Modify tooltip about transparent shadow
...
Mention that this option is only for shadow mapping and not contact shadow.
2019-03-27 19:41:35 +01:00
Clément Foucault
96d200775a
Fix T62997 Eevee: visual artifacts during irradiance volume baking
...
Seems to be a problem with Nvidia drivers. glFlush does not work but
glFinish does ensure correct multithreading.
2019-03-27 19:15:32 +01:00
Clément Foucault
6d1921dd81
Fix T62862 Eevee: Glitchy reflections in ortographic view
...
This was caused by sign(cubevec.xy) returning 0.0 when one component was 0.
Thus making the resulting component component 0.0 instead of 0.0.
2019-03-27 19:15:32 +01:00
William Reynish
021333ae3a
UI: Add missing separator in object context menu
2019-03-27 17:04:47 +01:00
Brecht Van Lommel
99c98aa306
Python API: tweak RenderEngine example to be a bit more efficient.
...
Suggested by Germano Cavalcante.
2019-03-27 16:25:19 +01:00
Brecht Van Lommel
532536bf52
Fix T61559: show object constraints also when in pose mode, remove warning.
...
This was originally added in 6feddb8b61 , but the warning is quite clumsy
and we also don't limit editing object transforms that way. The add constraint
button at the top now also indicates if it's for objects or bones, which was
not the case before and probably was part of the confusion.
If it does still cause issues we can always change back or hide the tab.
2019-03-27 15:41:06 +01:00
mano-wii
00bdb5cdf0
Edit Mesh Selection: make sure that GL_SCISSOR_TEST is disabled.
...
Possible solution for T62999.
2019-03-27 11:35:32 -03:00
Philipp Oeser
9624df5d1e
Fix T63004: Make Links operator would still allow collection instancing
...
for objects other than Empties
In 2.8 support for dupli-group instancing for non-empty objects was
removed (rB2eca054e14b1), so better prevent operators from setting
this...
Reviewers: brecht
Maniphest Tasks: T63004
Differential Revision: https://developer.blender.org/D4599
2019-03-27 15:27:49 +01:00
Campbell Barton
73b55a5508
Cleanup: style, use braces for draw
2019-03-28 01:14:03 +11:00
Jacques Lucke
56b06ee83a
Fix T62901: Bad handling of missing addon category
2019-03-27 15:13:14 +01:00
mano-wii
34c2185af4
Fix debug error on recent commit.
2019-03-27 11:06:15 -03:00
Campbell Barton
5a1a633d04
UI: minor change to active-default logic
...
Don't attempt to activate default button if it's already active.
Also expand on the flags comment.
2019-03-28 00:59:50 +11:00
Campbell Barton
57de9581e8
UI: use active-default button flag for operator confirmation
2019-03-28 00:54:55 +11:00
mano-wii
27b73f0c5b
GPencil: Remove legacy ED_gpencil_draw_view3d code.
...
Differential Revision: https://developer.blender.org/D4598
2019-03-27 10:53:15 -03:00
Jacques Lucke
c87e467e39
Fix T62935: Missing tag when copying constraints
2019-03-27 14:50:09 +01:00
Campbell Barton
a8c1b792da
UI: use active-default button flag for the file selector
2019-03-28 00:46:13 +11:00
Campbell Barton
2d34420648
UI: support an 'active default' button for pop-ups
...
Use this for the save confirmation dialog so it has a default action
when pressing enter which draws with a highlight so it's clear what the
default action is (the dialog was just closing before).
Resolves T57686
2019-03-28 00:26:00 +11:00
Campbell Barton
e3b83e2921
Cleanup: remove unused menu bl_spacetype
2019-03-28 00:26:00 +11:00
Brecht Van Lommel
b4d19c2ec1
Fix T62978: grease pencil 3D view header layout broken after recent changes.
2019-03-27 13:59:54 +01:00
Campbell Barton
db4a522249
Revert "RNA: error on register when classes use invalid identifiers"
...
This reverts commit b24a255ca6 .
The warning wasn't being printed, so many add-ons weren't yet updated.
Re-enable now warnings are printed to allow addon developers to update.
2019-03-27 23:29:53 +11:00
Brecht Van Lommel
6387fdda74
Fix T62926: allow using shift click drag to extend selection in file browser.
...
Standard behavior on most operating systems.
2019-03-27 13:13:05 +01:00
Campbell Barton
8d7005d715
Cleanup: style, use braces for bmesh
2019-03-27 17:14:36 +11:00
Campbell Barton
e26b67fa1e
Fix popovers from enums failing on drag-release
2019-03-27 15:35:49 +11:00
Campbell Barton
69a77a1b83
Fix class registration ignoring info/warnings
...
Only errors were displayed in the console.
2019-03-27 14:03:40 +11:00
Campbell Barton
9f2665b526
PyAPI: utility function to print reports
2019-03-27 14:03:40 +11:00
Campbell Barton
fb7f157ff8
Cleanup: unused variables
2019-03-27 13:19:02 +11:00
Campbell Barton
9ba948a485
Cleanup: style, use braces for blenlib
2019-03-27 13:17:30 +11:00
Brecht Van Lommel
337eb8c1de
Python API: add more detailed example for RenderEngine.
2019-03-26 19:57:51 +01:00
Brecht Van Lommel
85915ae1aa
Python API: allow passing None to some BGL functions instead of bgl.Buffer
...
Many OpenGL functions take NULL pointers, passing those was quite complicated
with some addons even using ctypes to manipulate internal bgl.Buffer pointers.
2019-03-26 19:56:43 +01:00
Brecht Van Lommel
c515ea2e93
Fix vertex array leak in Cycles viewport drawing.
2019-03-26 19:56:43 +01:00
mano-wii
6e3331990f
DRW manager: Use existing viewport instead of creating a viewport in DRW_draw_depth_loop.
2019-03-26 12:29:12 -03:00
Brecht Van Lommel
d67122e027
Fix T62952: remove lamp as camera using the lamp clip start/end.
...
Eevee and Cycles don't use these clipping distances the same as Blender
Internal did, or at all in most cases. Just remove this since it makes no
sense anymore.
2019-03-26 16:11:48 +01:00
Jacques Lucke
9b39a71793
Fix T62958: Improve exponential easing formula
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4596
2019-03-26 15:43:51 +01:00
Jacques Lucke
16a04dccd5
Fix T62955: Missing panels in workbench engine
...
Afaik all the panels in the scene settings are render
engine independent. So it does not make sense to have
this extra complexity in every panel class.
Reviewers: brecht, billreynish
Differential Revision: https://developer.blender.org/D4594
2019-03-26 15:43:12 +01:00
Brecht Van Lommel
8e0eb4125d
Fix T62626: Python errors when pinning particle settings.
2019-03-26 15:41:43 +01:00
Brecht Van Lommel
32c9b3a0ff
Merge branch 'blender2.7'
2019-03-26 15:30:52 +01:00
Brecht Van Lommel
7574f90a71
Fix Cycles standalone build, needs OpenJPEG libraries with OIIO now.
2019-03-26 15:29:01 +01:00
Jeroen Bakker
52aa35ec1e
Fix T62189: Wires Occluded When Edit Mesh Faces Disabled
...
Reviewed By: fclem
Maniphest Tasks: T62189
Differential Revision: https://developer.blender.org/D4593
2019-03-26 15:19:47 +01:00
Clément Foucault
51f8e51d78
Edit Mesh: Fix interpolation of gradient on edit edges
...
This fix some issue with the AA on edit mesh edges.
2019-03-26 15:11:31 +01:00
Clément Foucault
3aeb44cd79
Fix T62260 edges display bug on big geometries when looked up close
2019-03-26 15:11:31 +01:00
Jeroen Bakker
33a759a39c
Revert "DRW Manager: create and use new DRW_framebuffer_depth_read utility."
...
This reverts commit 40f8f445a3 .
There are many paths that lead to uninitialized depth buffer where the
depth read would fail.
Fix T62965
2019-03-26 15:07:05 +01:00