Clément Foucault
bb83bd773c
Cleanup: Remove old smoke drawing code
2018-10-09 19:08:25 +02:00
Antonioya
2c0f02dd0a
GP: Add Shift+F to change Drawing Brush strength
2018-10-09 19:07:20 +02:00
Clément Foucault
c630ce3f6d
Fix T57097: Crash when adding a Texture Slot in Texture Paint mode
...
Was caused by the use of a batch that was using a discarded index buffer.
2018-10-09 17:55:19 +02:00
Antonioya
d2eb7e8dfa
GP: Add RNA path function for gp brush settings
2018-10-09 17:45:52 +02:00
Antonioya
a1dbd2bb6c
GP: Minor changes to canvas panel
2018-10-09 17:45:51 +02:00
Clément Foucault
47e1e7212c
Eevee: Fix crash with defered compilation and volumetric shaders
2018-10-09 17:34:04 +02:00
Clément Foucault
e234ce9b22
Eevee: Add support/Fix Object Info node
...
Caveat: Random output does not yet work with instance (dupli) objects.
2018-10-09 17:34:04 +02:00
Bastien Montagne
6d6e3869ce
Fix T57122: Sample color during texture painting not working.
...
Stupid +1/-1 fiddling of mat indices (between MPolys and object...).
Initial investigation and patch by @dfelinto, thx.
2018-10-09 17:32:10 +02:00
mano-wii
b0b547bd1e
Python GPU: Update shader.from_builtin and shader.code_from_builtin description.
2018-10-09 12:18:28 -03:00
mano-wii
8fc8131bc9
GPU Python: Use string literals in shader.from_builtin and shader.code_from_builtin.
...
Also, the gpu.shader.builtin submodule becomes obsolete, so it has been removed.
2018-10-09 12:07:06 -03:00
Antonioya
90e360c39f
GP: Improve center object in viewport when press .
...
Before when press . (view_select) the object was centered at the dummy, but now it's centered with the strokes bounding box size.
Also fixed some problems in edit mode when the object origin was not in view origin.
2018-10-09 16:55:29 +02:00
Dalai Felinto
5cb633ce3f
Cleanup
2018-10-09 13:38:25 +00:00
mano-wii
f81e8903b4
Fix T55202: 3D Cursor Snapping not working correctly in Edit Mode.
...
Use `mesh_eval_final` in this case.
2018-10-09 10:24:15 -03:00
Dalai Felinto
18be4d942b
Fix build error on windows/MSVC
2018-10-09 12:45:00 +00:00
Dalai Felinto
9a670a67d2
Fix for assert when sampling color to non-existent palette
2018-10-09 12:43:11 +00:00
Jacques Lucke
85944a2d7e
Image Empties: Usability improvements and fixes
...
- new "Align to View" option when loading a new image
- automatically align to view when dropping an image into a viewport
- larger default size for image empties
- fix image empty gizmo in orthographic view
- new "Align Objects to View" operator
Reviewer: brecht
Differential: https://developer.blender.org/D3778
2018-10-09 14:36:15 +02:00
Brecht Van Lommel
3e2422a947
Fix T57115: buttons drawing wrong after recent icon drawing changes.
2018-10-09 14:05:57 +02:00
Alexander Gavrilov
f1959f0999
Fix Weight Paint display with Subdivision Surface modifier.
...
The flag used to be set by the now removed old weight paint coloring code.
2018-10-09 14:21:23 +03:00
Clément Foucault
0749808d51
DRW: Fix volume visibility when object draw type is wire or bbox
2018-10-09 12:12:38 +02:00
Clément Foucault
9cf01d35be
Workbench: Smoke: Add support for Color Mappping for smoke debugging
2018-10-09 12:12:38 +02:00
Clément Foucault
d4d6cbe0a7
GPUDraw: Smoke: Cleanup/Refactor
2018-10-09 12:12:38 +02:00
Bastien Montagne
2471b9c528
Fix crash in T56064: Blender crashes on selecting text-object.
...
The root of the issue remains though, see T56172, this is just a quick
bandaid to stop crashing on it, until we find a proper solution.
2018-10-09 11:35:21 +02:00
Jacques Lucke
9560fe60e4
Python API: new GPUShader.format_calc() method
...
Reviewers: mano-wii, fclem, campbellbarton
Differential Revision: https://developer.blender.org/D3772
2018-10-09 11:17:29 +02:00
Campbell Barton
1b910082a0
Edit Mesh: replace DerivedMesh w/ Mesh
...
DerivedMesh is now removed from edit-mesh modifier evaluation.
2018-10-09 17:48:28 +11:00
Campbell Barton
79ca13a745
Cleanup: naming
...
Use BKE_mesh_* prefix for mesh module.
2018-10-09 16:09:59 +11:00
Campbell Barton
72e90c5db3
Cleanup: remove unused EditDerivedBMesh
2018-10-09 15:57:38 +11:00
Campbell Barton
3c78763482
Edit Mesh: remove derived-mesh from crazy-space calculation
2018-10-09 15:38:06 +11:00
Campbell Barton
20fbe6bca8
Modifier: move edit-mesh calculation from DerivedMesh to Mesh
2018-10-09 15:11:06 +11:00
Campbell Barton
75ac83610b
Modifier: add non derived mesh modifier wrappers
...
Rename modifier_deformVerts_ensure_normals &
modifier_applyModifier_ensure_normals with wrappers that match 2.7x
convention.
2018-10-09 13:20:20 +11:00
Campbell Barton
c8c3bbaade
Cleanup: naming
...
Rename DerivedMesh modifier functions to make room for mesh versions.
2018-10-09 12:23:22 +11:00
Campbell Barton
e7218e7049
Cleanup: naming
...
- immAttrib* -> immAttr*
- immSkipAttrib -> immAttrSkip
Term 'attr' is a convention for GPU module.
2018-10-09 11:01:50 +11:00
Campbell Barton
9b49a0d971
Cleanup: naming
2018-10-09 10:51:35 +11:00
Campbell Barton
d43c776a56
Cleanup: warnings
2018-10-09 10:41:36 +11:00
Campbell Barton
793d5cb7fd
Merge branch 'master' into blender2.8
2018-10-09 10:41:13 +11:00
mano-wii
cf03658adb
Fix misuse of Py_INCREF in module creation.
...
Differential Revision: https://developer.blender.org/D3697
2018-10-08 20:01:55 -03:00
Campbell Barton
76f640c27d
Cleanup: spelling
2018-10-09 09:29:14 +11:00
Campbell Barton
d592eb510e
Cleanup: naming
2018-10-09 09:25:33 +11:00
Lukas Stockner
7920ebd157
Cycles: Fix NLM denoising kernels zeroing the wrong buffer on OpenCL
...
Since my temporary buffer commit (about a month ago), the OpenCL device was zeroing the wrong buffer, leading to
completely wrong filtered feature passes and therefore significantly lower-quality results than CPU and CUDA.
2018-10-09 00:14:29 +02:00
Campbell Barton
733e6c0b1d
Merge branch 'master' into blender2.8
2018-10-09 08:46:00 +11:00
Antonioya
11877e5bec
GP: New Canvas offset parameters
...
Now the canvas can me moved in X/Y axis.
2018-10-08 23:21:44 +02:00
Campbell Barton
3bc885e5f4
Cleanup: style
2018-10-09 07:58:06 +11:00
Campbell Barton
da39f10eb7
Fix T57103: Subdivide smooth results in NAN verts
2018-10-09 07:49:54 +11:00
Lukas Stockner
7aaeb06fb6
Cycles: Clean up extra minus in previous commit
...
Forgot to add that change, sorry for the noise.
2018-10-08 22:22:05 +02:00
Lukas Stockner
0234de7d85
Cycles: Reuse existing buffer in the NLM denoising kernels on CPU
2018-10-08 22:17:06 +02:00
Lukas Stockner
15e9d80375
Cycles: Use existing shared temporary memory in reconstruction step of the denoiser
...
Previously the code allocated its own temporary memory, but it's possible to just use the existing shared one instead.
2018-10-08 22:13:40 +02:00
Brecht Van Lommel
e1293da014
Splash: add themes to first time setup in splash screen.
...
* Add default theme as Blender Dark.
* Rename Flatty Light to Blender Light.
* When setting theme, reset to default first for consistent results.
2018-10-08 19:46:00 +02:00
William Reynish
6a41691a0d
UI: layout tweaks for headers.
...
* Move all copy & paste operators into the menus. There was no real reason
why these particular operators should be in the header and not in the menus,
like all other operators
* Move ‘Update Automatically’ toggle from UV/Image Editor header into menu.
* Move the pin toggle next to the ID blocks, because it is related.
* Move OpenGL render from sequence header into View menu.
* Sequence editor display mode and channels are now not expanded.
2018-10-08 19:46:00 +02:00
Brecht Van Lommel
cf8e71db61
UI: add icon color coding for different data types in the outliner.
...
For now we have categories collection, object, object data, modifiers &
constraints, and shading. The icons can be categorized by adding e.g.
DEF_ICON_OBJECT() in UI_icons.h.
Light themes will need to be updated to use darker colors to keep icons
visible in the outliner.
2018-10-08 19:46:00 +02:00
Brecht Van Lommel
2ac65f6153
UI: new icon set by Andrzej Ambroz.
...
This is a monochrome icon set, with a more modern look and icons for
various features that did not have a proper icon before.
2018-10-08 19:46:00 +02:00
Brecht Van Lommel
192a99f477
Fix incorrect alpha blending for icon drawing outside buttons.
...
This was not so noticeable for old icons with black outline, but with
white outline it's problematic.
2018-10-08 19:45:59 +02:00