Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5205 / 8462

November 30, 2014, 13:28 (GMT)
Fix for wrong RNA type causing asserts to fail in debug mode
November 30, 2014, 13:24 (GMT)
Removing last vestigial remains of old C-based UI for Grease Pencil

I'd kept the code around in the codebase until after the merge back to master
to avoid having too many conflicts if things changed there (or in case we
needed to roll back). Now, it's safe to jettison this!
November 30, 2014, 12:52 (GMT)
Grease Pencil - Storyboarding Features (merge from GPencil_EditStrokes branch)

This merge-commit brings in a number of new features and workflow/UI improvements for
working with Grease Pencil. While these were originally targetted at improving
the workflow for creating 3D storyboards in Blender using the Grease Pencil,
many of these changes should also prove useful in other workflows too.

The main highlights here are:
1) It is now possible to edit Grease Pencil strokes
- Use D Tab, or toggle the "Enable Editing" toggles in the Toolbar/Properties regions
to enter "Stroke Edit Mode". In this mode, many common editing tools will
operate on Grease Pencil stroke points instead.
- Tools implemented include Select, Select All/Border/Circle/Linked/More/Less,
Grab, Rotate, Scale, Bend, Shear, To Sphere, Mirror, Duplicate, Delete.
- Proportional Editing works when using the transform tools

2) Grease Pencil stroke settings can now be animated
NOTE: Currently drivers don't work, but if time allows, this may still be
added before the release.

3) Strokes can be drawn with "filled" interiors, using a separate set of
colour/opacity settings to the ones used for the lines themselves.

This makes use of OpenGL filled polys, which has the limitation of only
being able to fill convex shapes. Some artifacts may be visible on concave
shapes (e.g. pacman's mouth will be overdrawn)

4) "Volumetric Strokes" - An alternative drawing technique for stroke drawing
has been added which draws strokes as a series of screen-aligned discs.

While this was originally a partial experimental technique at getting better
quality 3D lines, the effects possible using this technique were interesting
enough to warrant making this a dedicated feature. Best results when partial
opacity and large stroke widths are used.

5) Improved Onion Skinning Support
- Different colours can be selected for the before/after ghosts. To do so,
enable the "colour wheel" toggle beside the Onion Skinning toggle, and set
the colours accordingly.
- Different numbers of ghosts can be shown before/after the current frame

6) Grease Pencil datablocks are now attached to the scene by default instead of
the active object.
- For a long time, the object-attachment has proved to be quite problematic
for users to keep track of. Now that this is done at scene level, it is
easier for most users to use.
- An exception for old files (and for any addons which may benefit from object
attachment instead), is that if the active object has a Grease Pencil datablock,
that will be used instead.
- It is not currently possible to choose object-attachment from the UI, but
it is simple to do this from the console instead, by doing:
context.active_object.grease_pencil = bpy.data.grease_pencil["blah"]

7) Various UI Cleanups
- The layers UI has been cleaned up to use a list instead of the nested-panels
design. Apart from saving space, this is also much nicer to look at now.

- The UI code is now all defined in Python. To support this, it has been necessary
to add some new context properties to make it easier to access these settings.
e.g. "gpencil_data" for the datablock
"active_gpencil_layer" and "active_gpencil_frame" for active data,
"editable_gpencil_strokes" for the strokes that can be edited

- The "stroke placement/alignment" settings (previously "Drawing Settings" at the
bottom of the Grease Pencil panel in the Properties Region) is now located in
the toolbar. These were more toolsettings than properties for how GPencil got drawn.

- "Use Sketching Sessions" has been renamed "Continuous Drawing", as per a
suggestion for an earlier discussion on developer.blender.org

- By default, the painting operator will wait for a mouse button to be pressed
before it starts creating the stroke. This is to make it easier to include
this operator in various toolbars/menus/etc. To get it immediately starting
(as when you hold down DKEy to draw), set "wait_for_input" to False.

- GPencil Layers can be rearranged in the "Grease Pencil" mode of the Action Editor

- Toolbar panels have been added to all the other editors which support these.

8) Pie menus for quick-access to tools
A set of experimental pie menus has been included for quick access to many
tools and settings. It is not necessary to use these to get things done,
but they have been designed to help make certain common tasks easier.

- Ctrl-D = The main pie menu. Reveals tools in a context sensitive and
spatially stable manner.
- D Q = "Quick Settings" pie. This allows quick access to the active
layer's settings. Notably, colours, thickness, and turning
onion skinning on/off.
November 30, 2014, 11:22 (GMT)
Polish for quick-access pie menus

* Settings pie menu (DQ) can now be used to quickly check on and adjust
key properties for the active layer. In particular, it's particularly
helpful for quickly checking colours and turning onion skinning on/off.

* Fleshed out the "More" pie with many of the other tools as well. Also
included a link back to the main tools pie (i.e. the one launched with Ctrl-D)
November 30, 2014, 09:08 (GMT)
Merge branch 'master' into mesh_samples

Conflicts:
release/datafiles/locale
release/scripts/addons
November 30, 2014, 00:01 (GMT)
Experimenting with contents of secondary GPencil pie

Now that we can properly add interactive widgets, this commit adds some
quick access to some commonly tweaked settings such as color (stroke/fill),
opacity, line thickness, and onionskinning.
November 29, 2014, 23:33 (GMT)
Merge branch 'master' into GPencil_EditStrokes
November 29, 2014, 18:12 (GMT)
Correct includes for win32
Revision efbdd40 by Lukas Toenne
November 29, 2014, 18:00 (GMT)
Revert previous hair edit operator scaffolding and port over the old
operator for strokes instead.

The paint system is much too complicated and does not add any real
advantage at this point.
November 29, 2014, 17:35 (GMT)
Merge branch 'master' into mesh-transfer-data
November 29, 2014, 16:49 (GMT)
Cleanup: use const, avoid float -> double in matrix invert
Revision 563026e by Lukas Toenne
November 29, 2014, 15:15 (GMT)
Copied high-level operator code from the paint/sculpt system as a basis
for brush-stroke operators in hair edit mode.

Hopefully this can help avoid some redundant code and ensure consistent
keymapping etc.
November 29, 2014, 14:00 (GMT)
Standard hotkeys to set proportional editing settings work in Stroke EditMode too
November 29, 2014, 13:56 (GMT)
WIP convenience feature: New frames are created when editing strokes on frames without existing keys

This feature makes it easier to do pose-to-pose animation using the strokes editing
stuff, as you don't have to remember to deliberately duplicate an existing frame
so that your edits end up on a new frame.

There is the possibility though that you didn't intend to create a new frame,
in which case this option will be more of a pain. Let's try this out for a bit
before deciding whether it should stay or go.
November 29, 2014, 12:56 (GMT)
Notifier fixes for entering/exiting stroke editmode (and other fixes)

* Entering/exiting stroke editmode now updates the headers, so that the right
proportional editing options get shown

* Doing anything Grease Pencil related in the Node Editor doesn't trigger a
recalc of the nodetree anymore. AFAICT, there is no legitimate reason to
be doing full refreshes there - simple redraws will do.
November 29, 2014, 12:52 (GMT)
Followup for the previous commit

Don't have collada here, so need to use buildbot to test,,
November 29, 2014, 12:47 (GMT)
Attempt to fix collada compilation after recent cleanup

This one call really smart script to check unused headers, huh? ;)
November 29, 2014, 12:26 (GMT)
Add proportional editing props to the "additional settings" panel where they might be relevant
November 29, 2014, 12:21 (GMT)
Proportional Editing options for GPencil should now work across all editors supported

* When in Stroke Editing mode (or strokes points can get transformed),
the proportional editing settings for editing points/geometry will now
be used. These include the disabled/enabled/connected + falloff properties.

* Uncommented the code in the pie menu for showing these settings, so that
this functionality can be tested in each applicable editor.

TODO:
* Fix refresh bugs for UI to ensure that the right set of settings is displayed
* Expose these settings in other places where they may be applicable
November 29, 2014, 11:47 (GMT)
GPencil: Proportional Editing UI components for headers

This is only the UI part - the backend doesn't work yet
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021