Jeroen Bakker
17b029d80e
T55406: Flip Matcap
...
- Icon represent the flipped matcap in the shading menu
- Added template_icon to display any icon in scale.
2018-06-14 11:44:36 +02:00
Bastien Montagne
0eb3246713
Fix T55470: Add option to not fix polygons' winding to Edit Normals modifier.
...
this is actually adding option to add buggy behavior, but.. NPR often
expects buggy behaviors, and its one of the main targets for normal editing.
So think it's reasonable to add that option (disabled by default of
course).
Note that am not really happy with UI, but:
* Not sure where to put it, it's kind of own self-contained area option.
* Don't to make it too much visible, using this should be the exception!
2018-06-14 11:41:12 +02:00
Campbell Barton
fecec7dd68
3D View: Show view-aligned rotation manipulators
2018-06-14 11:37:47 +02:00
Campbell Barton
f35572ae9e
Cleanup: style
2018-06-14 11:37:47 +02:00
Clément Foucault
62f594ca7b
UI: Make spacers align blocks on area divisions
...
This solves the problem of blocks jumping around when changing modes and
center them to the area (in case of only 2 spacers).
Which is (in my own opinion) more aestetically pleasing.
2018-06-14 11:29:44 +02:00
Campbell Barton
7449dc8d13
3D View: Tweak transform plane manipulator fading
...
The threshold to fade out and hide was too small.
2018-06-14 10:39:36 +02:00
Campbell Barton
4ee97c9a1c
WM: increase hot-spot of 3D manipulators
...
Larger hot-spot was disabled for performance,
however without this - clicking on them is too difficult.
2018-06-14 09:55:58 +02:00
Campbell Barton
ba2c10c1f7
3D View: increase size of view aligned rotation
...
Minor changes based on user feedback.
- View aligned rotation manipulator overlapped too often
with axis aligned widgets. Increase size (matching 2.79)
- Offset arrow-heads when combining rotate & translate,
don't draw the stem since it overlaps with scale.
2018-06-14 09:46:11 +02:00
Campbell Barton
22ac20a705
WM: option not to draw arrow manipulator stem
2018-06-14 09:25:55 +02:00
Campbell Barton
eeca206e76
Cleanup: rename arrow manipulator 'draw_options'
...
Rename to 'transform' since this controls interaction.
2018-06-14 09:17:03 +02:00
Campbell Barton
b839d67f3e
UI: correct HUD zoom resetting
2018-06-14 08:30:46 +02:00
Clément Foucault
2f3e890b94
DRW: Fix crash caused by hair transform feedback
...
Seem to be cause by the lack of proper FBO bound.
2018-06-13 22:20:48 +02:00
Campbell Barton
8d2309f94f
3D View: make navigation buttons smaller
...
Keep orbit large, other buttons are now closer to other icons buttons.
2018-06-13 21:00:05 +02:00
Brecht Van Lommel
711a50c5ea
Merge branch 'master' into blender2.8
...
This includes making Eevee match Cycles behavior of inserting an emission
node when linking colors to closures.
2018-06-13 19:26:52 +02:00
Brecht Van Lommel
4d58fac1b4
Fix undo group to use human readable name, since this shows in the UI.
2018-06-13 18:39:30 +02:00
Brecht Van Lommel
3102833962
Fix undo of transform after frame change undoing too much.
...
For grouped undo we should not skip the undo push, rather replace the
previous undo push. This way undo goes back to the state after the last
operation in the group.
2018-06-13 18:39:30 +02:00
Rohan Rathi
e5880eb1ff
Fix exception in superellipse where precision_reached is used
...
with proper initialization
2018-06-13 21:56:15 +05:30
Campbell Barton
a3c630aebb
Merge branch 'master' into blender2.8
2018-06-13 18:25:23 +02:00
Rohan Rathi
2922131971
Corrected bevel of vertex by using profiles for curve of bevel
2018-06-13 21:53:15 +05:30
Campbell Barton
57cd52a4ab
WM: check release event for particle edit mode
...
Caused by drag event.
2018-06-13 18:23:09 +02:00
Jeroen Bakker
2e23385c35
T55456: EditDrawMode
...
reorganized shader compilation
2018-06-13 16:47:38 +02:00
Jeroen Bakker
645c918825
T55456: EditDrawMode
...
use darker defaults for not active selection mode elements
2018-06-13 16:47:38 +02:00
Bastien Montagne
4943739b89
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenloader/intern/readfile.c
source/blender/editors/mesh/editmesh_utils.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13 16:42:56 +02:00
Jeroen Bakker
b8015ece51
Revert "T55456: EditDrawMode"
...
This reverts commit da6ed54569 .
2018-06-13 16:34:20 +02:00
Bastien Montagne
f61c30f804
Cleanup: get rid of last G.main in BMesh code.
2018-06-13 16:29:12 +02:00
Campbell Barton
cd0a4836d4
Cleanup: unused var
2018-06-13 16:17:07 +02:00
Sergey Sharybin
9c65227061
Tag object/scene for selection update from operators
...
Before that depsgraph tagging was done from inside notifier listener in
viewport. This had the following issues:
- If there are no viewports, selection tag was not done. Causing possible
issues when object becomes visible.
- Required special trickery to detect which data to tag for update.
- Was causing crash when transforming/selecting markers in clip editor.
This is because selecting marker needed to poke viewport to redraw, since
selected bundles will be displayed differently in viewport.
2018-06-13 16:07:55 +02:00
Dalai Felinto
c1e503e89a
Silence false positive warning on boolean modifier
2018-06-13 16:04:31 +02:00
Bastien Montagne
1bcf9217eb
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/BKE_pointcache.h
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/pointcache.c
source/blender/editors/include/ED_particle.h
source/blender/editors/physics/particle_edit.c
source/blender/editors/physics/particle_edit_undo.c
source/blender/editors/physics/particle_object.c
source/blender/editors/physics/physics_intern.h
source/blender/editors/physics/physics_pointcache.c
source/blender/editors/space_time/space_time.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_generics.c
source/blender/editors/transform/transform_manipulator.c
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_object_force.c
source/blender/makesrna/intern/rna_sculpt_paint.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13 15:36:24 +02:00
Brecht Van Lommel
7a10cfe7fe
UI: preset popover buttons in panel headers.
...
Moves the preset into a menu for the panel header, so it can be changed
without opening the panel and takes up less space. Two remaining issues:
* For long lists the add new preset button can be scrolled off screen.
* We should support showing the name of the chosen preset in the panel
header, but the current preset system does not support detecting which
preset is used.
Differential Revision: https://developer.blender.org/D3366
2018-06-13 15:22:34 +02:00
Dalai Felinto
1664ccb675
Fix flexible spacer distance
...
Introduced on 0bce173bc7 .
2018-06-13 15:17:56 +02:00
Bastien Montagne
5ff1d845ea
Cleanup: moar ugly G.main removal...
...
Note that due to RNA get/setters issue, that one may actually add some
G.main usages to the total... But at least it's not hidden anymore in a
very low-level, dark corner of BKE pointcache code!
2018-06-13 14:28:05 +02:00
Jeroen Bakker
da6ed54569
T55456: EditDrawMode
...
- removed the dithering from the active face
2018-06-13 14:21:38 +02:00
Philipp Oeser
57fe9767f4
Merge branch 'master' into blender2.8
2018-06-13 14:19:57 +02:00
Philipp Oeser
2002fe27d9
Fix T55467: nodes cant be resized after recent clickdrag change
2018-06-13 14:03:46 +02:00
Dalai Felinto
64ecd3d2e7
Set minimum blender version as 2.80
...
Technically we probably need to do for the current subversion (17).
But the entirely 2.80 series is known to be experimental.
The most important part is to notify people that if they open the 2.80
file in master it will loose data.
2018-06-13 13:01:16 +02:00
Jeroen Bakker
23c24cead5
T55456: EditMode Drawing
...
- Hide facedots, except when in V3D_ZBUF_SELECT mode
`use_occluded_geometry`
- Different theme (wire_inactive) when not in edge selection mode
2018-06-13 12:38:53 +02:00
Campbell Barton
c0926d536f
Manipulator: Skip redundant transform updates
...
Partially address T55458
2018-06-13 11:59:48 +02:00
Campbell Barton
ca7a93953a
Error in recent popover width
2018-06-13 11:57:52 +02:00
Brecht Van Lommel
0bce173bc7
UI: remove empty space at the end of headers, tweak start/end spacing.
2018-06-13 11:43:10 +02:00
Brecht Van Lommel
dcf70dc181
Fix 3D view header panning not working with region overlap.
2018-06-13 11:43:09 +02:00
Campbell Barton
e4ab04b8bb
Fix pop-over buttons always getting space for icon
2018-06-13 11:22:15 +02:00
Campbell Barton
2a5d4d7573
Merge branch 'master' into blender2.8
2018-06-13 11:11:23 +02:00
Campbell Barton
5788f24337
Cleanup: swapped X/Y UI_UNIT
2018-06-13 11:10:55 +02:00
Bastien Montagne
1a79c6d360
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/intern/blendfile.c
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/particle.c
2018-06-13 11:02:48 +02:00
Bastien Montagne
67e8c1e1c7
Cleanup: remove more G.main from BKE area.
2018-06-13 10:57:10 +02:00
Campbell Barton
f234adf65c
UI: adjust view navigation layout
...
Button layout now matches T54723.
2018-06-13 10:57:09 +02:00
Campbell Barton
edd0522e8f
UI: HUD now follows region theming
2018-06-13 09:50:41 +02:00
Sergey Sharybin
64aadc7c7d
Depsgraph: Avoid use of 0 tag flag on build finish
...
Use all the explicit tagging. Solves characters being in T-pose after
opening specific scene files.
2018-06-13 09:49:14 +02:00
Campbell Barton
813a538a57
UI: show HUD when region overlap is disabled
2018-06-13 09:27:40 +02:00