Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4690 / 8462

September 19, 2015, 07:49 (GMT)
Fix leak in UI Panels

Switching screens quickly didn't free the panels activedata.
September 19, 2015, 07:39 (GMT)
GPencil EditMode: Only sync editmode with ob->mode in 3D view
September 19, 2015, 07:38 (GMT)
Code Cleanup: Move the editmode toggle operator to another file
September 19, 2015, 06:54 (GMT)
GPencil Stroke Editing: Stroke Editmode now behaves like other editing modes for objects

You can now enter stroke editmode from the usual mode dropdown in the 3D View
header. While this isn't strictly correct (data-wise, GPencil datablocks can
belong to stuff other than the active object), for the most common use case
of usage in the 3D view, this is appropriate.

Notes:
* This still needs more careful checking to ensure correctness/consistency of
behaviour in all edge cases (e.g. gpencil datablock in a different editor,
or user manually changed the mode toggle, etc.)
September 19, 2015, 06:51 (GMT)
Merge branch 'master' into object_nodes
September 19, 2015, 05:38 (GMT)
GPencil Stroke EditMode: Replace 3D view menus when in stroke editmode

After playing around with the current workflow the other day, it became clear
that the current editing workflow could still do with some tweaks to be more
convenient.

* To make it less confusing/ambiguous what "mode" we're in when editing
Grease Pencil strokes, and also to provide another way of seeing all
the available operators, the Select and "Edit" menus in the 3D View
header now show Grease Pencil specific lists of operators now.

* Also, added a quick-access button to the header to toggle onion skinning.
Even with the Pie Menu and the Properties Panel, the existing ways of
quickly toggling this aren't good enough.


TODO:
* The "Mode Selector" is now the next target to tweak. As Strokes EditMode is not
a per-object setting, but rather, per GPencil datablock, this will be quite hairy
to hack around.
September 19, 2015, 05:22 (GMT)
UI: tooltip layout tweaks

- enable word-wrap for all tip text to align vertically.
- draw enum identifier at the end of the last line, not first.
September 19, 2015, 05:22 (GMT)
BLF: correct ResultBLF.width value when wrapping
September 19, 2015, 05:22 (GMT)
UI: word-wrap for tooltips, broke text alignment

This wasn't visible with default settings,
but caused problems w/ pie-menu's & manually adjusted theme font-size.

Now only draw from the bound-box top w/ word-wrap enabled.
September 19, 2015, 02:24 (GMT)
File Browser: Scroll view on normal selection too

Adjusts view after mouse/border selection if some selected items are out of view bounds.
To get as much of the selection into view as possible, this adjusts view first for the last, then for the first element in the selection.
Also, if region is pretty small, view adjustment is skipped, as otherwise the view is focused on the first element only, which isn't really useful IMHO.

Maybe not so nice: Since we do two view alignment iterations, UI_view2d_curRect_validate, which is a rather big function *might* be called twice under certain circumstances (border select & total size of selected elements is exceeds view bounds). I think that's totally acceptable though.
September 19, 2015, 01:34 (GMT)
File Browser: Scroll view with arrow keys navigation

Adjusts view to display active file after using arrow keys to navigate through files.
September 19, 2015, 01:17 (GMT)
Correction to previous commit
September 19, 2015, 01:12 (GMT)
Fix file key select using wrong file after border select in scrolled view

Basically, after border selecting, a wrong file was selected by using arrow keys if the screen was scrolled a bit vertically. Reason was that we didn't use correct view space coordinates but region space coordinates for measuring distance from mouse to first/last file in selection after border select.
September 18, 2015, 23:49 (GMT)
GPencil Keymap: Pen Eraser can now be used for erasing strokes

Using the keymap support added in the previous commit, we can now map the
pen's eraser to trigger erasing.

Pen drawing support is not enabled though, since users who use a tablet as
their primary pointing device will want to be able to continue using it
for things like selection, grabbing manipulators, and sculpting/texture painting.
September 18, 2015, 23:43 (GMT)
Added support for tablet pen and eraser events to be added to keymaps

Added two new event types that will fire only when using a stylus or its eraser.
The use case for this is to allow artists to be able to set up their keymaps
so that they can just draw and erase directly using their tablet without holding
down any keys.
September 18, 2015, 21:48 (GMT)
fixed setup when with_manta flag is disabled
September 18, 2015, 21:01 (GMT)
Fix T46155: Sequencer Text Effect: wrong vertical 'TOP' alignment.

Logic was broken for this vertical alignment option - we need to remove one line height here...
September 18, 2015, 20:59 (GMT)
Merge branch 'master' into wiggly-widgets

Conflicts:
source/blender/blenkernel/BKE_blender.h
September 18, 2015, 20:42 (GMT)
Merge branch 'lib-link-rework-temp' into id-remap

Also, fix some issues in previous code.
September 18, 2015, 20:27 (GMT)
Some naming cleanup.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021