Campbell Barton
eefaec4114
Extrude Widget: Add orientation to topbar
...
Add extrude operator that's intended to work on the current selection
and be activated as a tool.
2018-05-07 21:40:51 +02:00
Campbell Barton
170223804b
Extrude Widget: orient correctly w/ rotated object
2018-05-07 21:40:51 +02:00
Campbell Barton
036eb6f2f8
Extrude Widget: don't show when moving
2018-05-07 21:40:51 +02:00
Campbell Barton
50e28092d3
Cleanup: style
2018-05-07 21:40:51 +02:00
Dalai Felinto
e4c4e8566f
Multi Object Smooth shading by Ethan Brierley
...
With small changes by Dalai Felinto.
Differential Revision: https://developer.blender.org/D3213
2018-05-07 21:30:29 +02:00
Joshua Leung
3299b0f0dc
Fix: Select all didnt' work with COW pose bones
2018-05-07 19:03:36 +02:00
Pablo Vazquez
da89fac348
Update Flatty Light theme with topbar and minor tweaks
2018-05-07 18:46:40 +02:00
Clément Foucault
3c79043f1b
DRW: Fix incorrect blending function reset.
2018-05-07 18:29:45 +02:00
Bastien Montagne
3800be695b
Modifier stack: move vgroup editing modifiers to new Mesh-based system.
...
Some notes here:
* Proximity with non-mesh objects (like curve, see TEST_2 scene in
weightvg testfile) are not working currently. This is known TODO of COW
depsgraph project.
* Proximity modifier is slower, due to some other TODO pending on
BVHTree creation/caching for Mesh.
2018-05-07 18:18:05 +02:00
Bastien Montagne
15f9ca05d1
Modifier stack: add new get_texture_coords_mesh() helper.
...
Will eventually fully replace get_texture_coords().
2018-05-07 18:18:05 +02:00
Joshua Leung
ac6d59db69
Fix ARMATURE_OT_layers_show_all now works with COW
2018-05-07 18:06:22 +02:00
Bastien Montagne
56f7b4616a
Merge branch 'master' into blender2.8
2018-05-07 18:04:16 +02:00
Campbell Barton
b49184b608
Merge branch 'master' into blender2.8
2018-05-07 18:02:48 +02:00
Bastien Montagne
c09e22306a
Fix (unreported) memleak when copying object with some modifiers.
2018-05-07 17:59:23 +02:00
Campbell Barton
f62b826533
Merge branch 'master' into blender2.8
2018-05-07 17:54:10 +02:00
Campbell Barton
f74d85ffc8
Cleanup: rename char/float conversion functions
...
- FTOCHAR -> unit_float_to_uchar_clamp
- F3TOCHAR3 -> unit_float_to_uchar_clamp_v3 (swap args)
- F4TOCHAR4 -> unit_float_to_uchar_clamp_v4 (swap args)
- FTOUSHORT -> unit_float_to_ushort_clamp
- USHORTTOUCHAR -> unit_ushort_to_uchar
2018-05-07 17:51:40 +02:00
Campbell Barton
905eeb0bc7
Cleanup: move unit char/short/float to functions
...
This caused GCC 8.1 to crash at build time,
but was also not very nice use of macros.
2018-05-07 17:50:25 +02:00
Clément Foucault
b0b2a47853
Armature: Transparent Bone: Fix envelope not being alpha blended.
2018-05-07 17:12:04 +02:00
Clément Foucault
8ab3697e21
Armature: Add new Transparent Bone overlay option.
...
This is half the replacement of the old wireframe mode. It's not doing any
XRay drawing at the moment.
2018-05-07 17:00:10 +02:00
Clément Foucault
2f76e95b96
DRW: Do not multiply alpha or color by alpha if not in blend more.
2018-05-07 17:00:10 +02:00
Clément Foucault
29c650c3cc
DRW: Add DRW_pass_state_add and DRW_pass_state_remove
2018-05-07 17:00:10 +02:00
Joshua Leung
6c2588761c
Fix: Left in debug prints
2018-05-07 16:55:13 +02:00
Joshua Leung
e7eee7764a
Fixes for motion path evaluation (part of T54810 work)
...
This commit brings back motion path calculations working on same level
as 2.7x. Caveats:
* You cannot actually see anything, as all the drawing code for motion
paths was removed and not reimplmented in 2.8 draw engines yet
* This doesn't actually use a separate depsgraph instance for fast
background calculations yet. That's a separate topic, and will require
further investigation (probably after code quest, according to original
planning).
* The work here *does* however pave the path forwards towards fully separate
COW evaluation though. We only need to stub in a different depsgraph instance
here to get things working.
2018-05-07 16:52:51 +02:00
Ines Almeida
193af4ddc8
Fix: Tag armature for copy on write when selecting bones, so active bone gets updated
...
see 8a2d2f1bb4 for similar
Reviewers: aligorith, sergey
Reviewed By: aligorith
Maniphest Tasks: T54812
Differential Revision: https://developer.blender.org/D3204
2018-05-07 15:58:24 +02:00
Philipp Oeser
d9998f24ab
Fix Movieclip editors 'graph' and 'dopesheet' view using themes region
...
background setting
mentioned in T54942
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3200
2018-05-07 15:03:05 +02:00
Philipp Oeser
b2443f0248
Fix T54525: crash when setting number of frames to use between dupoff
...
frames
caused division by zero if both dupli_frames_on and dupli_frames_off are
zero. doing this doesnt seem useful, dupliframes can be disabled in
other ways.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3132
2018-05-07 15:03:05 +02:00
Campbell Barton
c4440cf783
UI: add particle mode popovers
2018-05-07 15:01:51 +02:00
Jeroen Bakker
9f4d92bb92
Workbench: Texture Shading mode
...
- draws the active texture of the material
- if the texture cannot be found it will fallback to solid/material
2018-05-07 15:00:16 +02:00
Jeroen Bakker
f09d3a7a40
Workbench: Texture Shading mode
2018-05-07 14:59:27 +02:00
Philipp Oeser
66ec3c7e7f
Fix Movieclip editors 'graph' and 'dopesheet' view using themes region
...
background setting
mentioned in T54942
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3200
2018-05-07 14:57:05 +02:00
Philipp Oeser
1f76e6c326
Fix T54525: crash when setting number of frames to use between dupoff
...
frames
caused division by zero if both dupli_frames_on and dupli_frames_off are
zero. doing this doesnt seem useful, dupliframes can be disabled in
other ways.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3132
2018-05-07 14:49:09 +02:00
Bastien Montagne
13aa3de697
Modifier stack: port 'normals edit' to new Mesh-based system.
...
Note that custom normals drawing seems to be broken, and there also are
some refresh issues in some cases... But this is same with old DM-based
code, so not related to modifiers themselves probably.
2018-05-07 14:37:56 +02:00
Bastien Montagne
ca6dfa2e85
Clear dirty normals flag from Mesh at least in main BKE_mesh_calc_normals().
2018-05-07 14:37:56 +02:00
Bastien Montagne
580d10e6b6
Change mesh dirty runtime flags to signed int64_t.
...
Because CD_MASK_XXX are signed longlong, so when assigning to unsigned
longlong you get grumpy compiler errors!
2018-05-07 14:37:56 +02:00
Sergey Sharybin
77f2f23a7e
Merge branch 'master' into blender2.8
2018-05-07 14:29:54 +02:00
Sergey Sharybin
6c243b7e40
More tweaks to strict compiler flags
2018-05-07 14:28:22 +02:00
Sergey Sharybin
57013c0a39
Merge branch 'master' into blender2.8
2018-05-07 14:20:47 +02:00
Sergey Sharybin
592c3881ba
Silence compilation error around possible fall-through
2018-05-07 14:19:12 +02:00
Sergey Sharybin
1a3fb3e8b1
Fix wrong comparison of drop target URI on X11
...
Need to compare, NOT to override passed file name.
2018-05-07 14:11:33 +02:00
Julian Eisel
5003f894e7
Fix crash in debug drawing of fullscreen exit icon
...
Steps to recreate were:
* Go into fullscreen mode (Alt+F10)
* Open debug menu (Ctrl+Alt+D)
* Set value to 1
* Confirming should crash (at least in debug builds)
2018-05-07 13:49:52 +02:00
Julian Eisel
8bd229cadc
Remove alternative action-zone drawing for collapsed regions
...
Was hidden behind debug values 1, 2 and 3.
Also cleaned up logic in region_azone_edge_initialize. It was using a variable
called is_hidden that actually should've been called is_visible.
2018-05-07 13:49:52 +02:00
Clément Foucault
b029cc5d74
Eevee: Hair: Fix wrong color when shader is compiling.
2018-05-07 13:08:21 +02:00
Clément Foucault
9215b41dd3
Armature: Fix BBones base face winding.
...
Was producing wrong outline and backface culling.
2018-05-07 13:08:21 +02:00
Clément Foucault
5c728358ec
Armature: Remove big outlines for active bones & reduce axes color.
2018-05-07 13:08:21 +02:00
Howard Trickey
cd3f5983cd
Fix Bevel percent mode bug 54228
...
Previous new adjust pass commit should have excluded percent mode.
2018-05-07 07:05:41 -04:00
Philipp Oeser
8268526d22
Fix T54324: remove stencil entries from weight paint keymap
...
Reviewed By: mont29
Differential Revision: http://developer.blender.org/D3178
2018-05-07 12:40:06 +02:00
Bastien Montagne
2496c08c39
Modifier stack: move Edge Split to new Mesh-based system.
2018-05-07 12:29:20 +02:00
Bastien Montagne
4e2125e967
Modifier stack: Fix broken 'dirty normals' flag for new mesh-aware modifiers.
...
Since modifier stack is still primarily based on DM in blender2.8, we
need to copy over 'dirty normals' flag from temp Mesh to DM after
modifier has been evaluated.
2018-05-07 12:29:20 +02:00
Philipp Oeser
9eb5aa32b8
Fix T54324: remove stencil entries from weight paint keymap
...
Reviewed By: mont29
Differential Revision: http://developer.blender.org/D3178
2018-05-07 12:28:15 +02:00
Sergey Sharybin
68c5503570
Merge branch 'master' into blender2.8
2018-05-07 12:26:06 +02:00