Campbell Barton
54967955bc
Empty Image: use draw size instead of object scale
...
Object scale has implications for parenting, use draw size instead.
Also use add-empty view_align option instead of a separate operator.
2018-10-10 09:11:45 +11:00
Dalai Felinto
10a8786054
Removal of "extend" option for ARMATURE_OT_select_linked
...
This property (even in 2.7) was not working. In fact it behaves as extended
when extended was FALSE.
Besides all that, the operator is not affected my multi-objects, so it
is good to go.
2018-10-09 18:33:16 -03:00
Brecht Van Lommel
3f93091e8b
UI: reduce greying out of icons in radio and toggle buttons.
...
With the monochrome icons this reduced the contrast too much.
2018-10-09 23:05:43 +02:00
Clément Foucault
195dd9888a
Cleanup: Remove old shader reference
2018-10-09 20:22:40 +02:00
Clément Foucault
944e22115d
Eevee: Lights: Bump the minimum area light size
...
This is to avoid visible artifacts with default lamps intensity.
2018-10-09 19:08:25 +02:00
Clément Foucault
65fee32324
Eevee: Volume: Fix incorrect Light intensity compared to cycles
2018-10-09 19:08:25 +02:00
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
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
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
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
da39f10eb7
Fix T57103: Subdivide smooth results in NAN verts
2018-10-09 07:49:54 +11: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
Dalai Felinto
14d0aa728a
Fix tool panel not refreshing when updating color
2018-10-08 17:15:39 +00:00
Antonioya
b8a0434bc5
GP: New automatic adaptative UVs parameter
...
Now by default the UVs are calculated with a fixed size and this makes easier to add patterns for drawings like Manga. Before, the texture changed depending of the stroke size.
2018-10-08 18:33:26 +02:00
Clément Foucault
e5c7c21630
Workbench: Smoke: Port back Flame display
...
The appearance is a bit different than 2.79 where the flame was just added
on top of the smoke without correct blending.
Now it's much more realistic and using volumetric integration. You can see
the smoke actually masking the flame.
The other difference is that the flame color was not using proper color
managed blending. Now with the use of filmic it shows bright yellow.
This could be adjusted and displayed as a user parameter in the future.
2018-10-08 17:20:09 +02:00