Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 3441 / 5574

Revision b6b2f37 by Joshua Leung
October 13, 2012, 10:42 (GMT)
Lattice Editing: Distortion-Free "Flip" Operator

This operator (Ctrl-F) allows you to flip the lattice coordinates without
inverting the normals of meshes deformed by the lattice (or the lattice's
deformation space for that matter). Unlike the traditional mirror tool, this
tool is aware of the fact that the vertex order for lattice control points
matters, and that simply mirroring the coordinates will only cause the lattice
to have an inverted deform along a particular axis (i.e. it will be scaling by a
negative scaling factor along that axis).

The problems (as I discovered the other day) with having such an inverted
deformation space are that:
- the normals of meshes/objects inside that will be incorrect/flipped (and will
disappear in GLSL shading mode for instance)
- transforming objects deformed by the lattices will become really tricky and
counter-intuitive (e.g. rotate in opposite direction by asymmetric amounts to
get desired result)
- it is not always immediately obvious that problems have occurred

Specific use cases this operator is meant to solve:
1) You've created a lattice-based deformer for one cartoonish eye. Now you want
to make the second eye, but want to save some time crafting that basic shape
again but mirrored.
2) You've got an even more finely crafted setup for stretchy-rigs, and now need
to apply it to other parts of the rig.

Notes:
* I've implemented a separate operator for this vs extending/patching mirror
transform tool as it's easier to implement this way, but also because there are
still some cases where the old mirroring seems valid (i.e. you explicitly want
these sort of distortion effects).
* Currently this doesn't take selections into account, as it doesn't seem useful
to do so.
October 13, 2012, 10:41 (GMT)
fix for own error, leaving in test code to set the smooth flag.
Revision 4941f8a by Gaia Clary
October 13, 2012, 10:33 (GMT)
added filter for user installed addons
Revision 3fa24c7 by Gaia Clary
October 13, 2012, 10:31 (GMT)
differenciate log message for enabled/disabled modules
October 13, 2012, 03:59 (GMT)
improve edge rip when the edge has only 2 other connected edges.

common case ripping an edge of the default cube, it didn't run the edge size check.
October 13, 2012, 03:54 (GMT)
style cleanup: spelling
October 13, 2012, 01:46 (GMT)
add support for ripping off a single face from a single vertex when the vertex has 3 surrounding verts & faces.
Revision a798623 by Joshua Leung
October 13, 2012, 01:19 (GMT)
Bugfix [#32865] Usercounts for World Textures not decremented after preview
render

When adjusting settings for world textures (with Both/World preview modes),
every tweak would result in the usercount of the texture increasing. As a
result, before long the texture would claim to have over 100 users. Fortunately,
this only appeared to be just a cosmetic issue (i.e. no real memory leak here),
though it was a bit unsettling.

NOTE: this is still a bit glitchy, as now we have flickering when updating
texture settings - the texture still temporarily has a second user during
preview rendering.
Revision 13d829e by Jiri Hnidek
October 12, 2012, 18:19 (GMT)
* Fix small bug in Python operator example; improved example of modal operator

October 12, 2012, 18:10 (GMT)
Templates:
* UI Panel: Add examples for different button sizes.
October 12, 2012, 14:35 (GMT)
quiet some -Wshadow warnings
October 12, 2012, 14:03 (GMT)
code cleanup: video playback move frame step into the PlayState struct.
October 12, 2012, 04:00 (GMT)
fix for own error in copy_as_script(), imports were incorrect.
October 12, 2012, 03:59 (GMT)
optimization for PyObject -> ID-property sequence conversion, use PySequence_Fast.
October 12, 2012, 03:24 (GMT)
quiet clang static checker warning by returning an error for invalid situation getting an IDProp mapping from a PyObject.

also print the path installed to when installing an addon.
October 12, 2012, 00:18 (GMT)
remove BLI_noise from BLI_blenlib.h, not that many files need this.
October 11, 2012, 23:46 (GMT)
fix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert() on debug builds.
October 11, 2012, 23:42 (GMT)
get the width and height of the font at once when drawing auto-key,
also move BLF'g global font init into its own static function.
October 11, 2012, 18:41 (GMT)
Revert part of own r51193 (now I know where Courant comes from...), and add another exception to UI messages spellchecker! Thanks to Lockal for pointing this.
Revision 38e5562 by Joshua Leung
October 11, 2012, 10:19 (GMT)
Removed duplicate include of stdio.h

At least on mingw, this doesn't seem to be needed.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021