Blender Git Commits

Blender Git "master" branch commits.

Page: 4634 / 5574

July 25, 2009, 16:10 (GMT)
COLLADA importer: basic armature import.

Since in DAE only a matrix is stored per bone, some tricks have to be applied to build an armature from it:
- direction for "leaf" bones is hard-coded to Y vector. This will be changed to bone matrix orientation, somehow code will need to
derive the bone "forward" axis
- for "leaf" bones length cannot be determined, currently it is hard-coded (second screenshot), but I think changing it to the average
length of all non-leaf bones is ok
- parent bones get their tail at last child's head, this is not good (first screenshot). For bones with more than one child Chingiz
suggested not to link it with any child, I think it's a good idea. Length will be the same as for leaf bones.

Screenshots:
http://img232.imageshack.us/img232/8905/screenfhy.png
http://img406.imageshack.us/img406/3004/tobaggan.png
Revision 24d39c0 by Elia Sarti
July 25, 2009, 15:26 (GMT)
2.5 / Drag & Drop

Commit of basic architecture. Sorry, nothing fun to play with yet.
Added two events: MOUSEDRAG and MOUSEDROP. MOUSEDRAG is sent when left-mouse clicking and then moving the cursor and every time the cursor is moved until the user releases the mouse button, thus generating a MOUSEDROP.
Also added two dummy drag operators in view3d and outliner (place holders for now).

Brecht and Ton: feel free to check/edit especially the event system code. I'm not sure that's the right way to do it. Also, I'm getting some mem leaks which I suspect are caused by my code.
July 25, 2009, 15:12 (GMT)
Another fix to textures import.
July 25, 2009, 15:05 (GMT)
2.5

Fix in previous commit:
Outliner data view, rna levels didn't open/close correctly.

July 25, 2009, 14:35 (GMT)
2.5 Scene RNA:

* Added Projection Painting RNA.

Note: The properties doesn't seem to be accessible yet via datablocks. Brecht please check.
Revision 5fcbb36 by Joseph Eagar
July 25, 2009, 14:13 (GMT)
assorted uv fixes
July 25, 2009, 14:09 (GMT)
Fixed textures, images import/export.
July 25, 2009, 13:40 (GMT)
2.5

Outliner: brought back to near full functioning:

- proper operators, like for open/close items, exec operations
(note: select is still same operator as activate, should
become modal ops later)
- rename works again (ctrl+click)
- proper notifiers for redraws
- select / extend select works again
- editmode in/out works again
- enter key opens/closes again
- right mouse operations work again

Didn't do:
- options for Sequence strips
- signals to change button views on clicks
- error/warning messages

UI:

- added new uiButSetRenameFunc(), which passes on the old name
- added uiButActiveOnly(), which ensures a button gets created in
active state, and gets removed when used. Needed for editing
names in outliner.

Andrea: check outliner.c for uiButActiveOnly(), very easy to use!

Also:

- Added posemode operator, CTRL+TAB tied to it.


July 25, 2009, 12:35 (GMT)
BGE: Fix Keyboard actuator that didn't generate release event.
July 25, 2009, 12:22 (GMT)
Added Ztransp (renamed Z Buffer) option in rna and layout. Also added diffuse and color ramps, although a bug in the RNA prevents these from working unless you load an old file with them already enabled.
July 25, 2009, 11:27 (GMT)
* Better support for vector-like objects in method arguments.
Now the following methods in the Freestyle Python API accept
not only Blender.Mathutils.Vector instances but also lists and
tuples having an appropriate number of elements.

FrsNoise::turbulence2()
FrsNoise::turbulence3()
FrsNoise::smoothNoise2()
FrsNoise::smoothNoise3()
SVertex::__init__()
SVertex::setPoint3D()
SVertex::setPoint2D()
SVertex::AddNormal()
FEdgeSharp::setNormalA()
FEdgeSharp::setNormalB()
FEdgeSmooth::setNormal()
CalligraphicShader::__init__()
StrokeAttribute::setAttributeVec2f()
StrokeAttribute::setAttributeVec3f()
StrokeAttribute::setColor()
StrokeVertex::setPoint()

* Added the following converters for the sake of the improvements
mentioned above.

Vec2f_ptr_from_PyObject()
Vec3f_ptr_from_PyObject()
Vec3r_ptr_from_PyObject()
Vec2f_ptr_from_PyList()
Vec3f_ptr_from_PyList()
Vec3r_ptr_from_PyList()
Vec2f_ptr_from_PyTuple()
Vec3f_ptr_from_PyTuple()
Vec3r_ptr_from_PyTuple()

Those converters with the suffixes _PyList and _PyTuple accept
only lists and tuples having an appropriate number of elements,
respectively, while those with the suffix _PyObject accept lists,
tuples, or Blender.Mathutils.Vector instances.

* Fixed a null pointer reference in Interface0D___dealloc__().

* Corrected the names of 3 methods in the FEdgeSmooth class.
July 25, 2009, 10:44 (GMT)
Fixed a minor memory leak in Controller::LoadMesh().
July 25, 2009, 10:42 (GMT)
2.5 Smooth/Flat Shading:

* Added operators in Toolbar for Object Mode too. (Mesh only).
I think it should be there too, going into edit mode and select all just to change the shading of the whole mesh is not good. ;-)
Revision 020a34b by Joshua Leung
July 25, 2009, 05:11 (GMT)
2.5 - Restored most of the remaining Armature/Pose Operators

* Armature:
- added: fill, merge, separate
- renamed: duplicate, align

* Pose:
- added: apply pose

* Armature Edit menu has been converted to use operators/layout now
Revision 82ff261 by Joseph Eagar
July 25, 2009, 04:52 (GMT)
baaad typo
July 24, 2009, 23:34 (GMT)
Fixed compiler errors caused by the changes in revision 21700.
July 24, 2009, 23:07 (GMT)
- report header buttons were not drawing.
- shift+b in the console would do border zoom (rather then upper case B), fixed by making v2d's border zoom check if the v2d's zoom is locked.
- blender in debug mode registers all operators, useful for testing.
July 24, 2009, 22:33 (GMT)
2.5 3DView View Panel:

* Added Lines option.
* Made some settings use alignment.

Logs: Of course i meant 4-Split in last commit message ;-)
July 24, 2009, 22:09 (GMT)
2.5 3DView Properties Panel:

* Some Code cleanup.
* Added 3-Split Operator into the panel and some options (which don't work yet)
* Added RNA for RegionView3D lock and box options.
July 24, 2009, 21:01 (GMT)
2.5 3DView Toolbar:

* Some Code and tiny layout cleanup.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021