Blender Git Commits

Blender Git "master" branch commits.

Page: 4782 / 5574

January 14, 2009, 16:13 (GMT)
2.5

GPencil code back!

Joshua will probably take this further. I've added XXX notes
where fixes are required. Also note that ED_gpencil.h has
all old exports, which is probably not needed, most can go
to gpencil_intern.h

Also added Makefile fixes for sculpt

January 14, 2009, 15:29 (GMT)
Moved some more sculpt data into operator properties, also the test brush is now properly created so you can edit its state in the RNA viewer. Added an RNA property for the brush sculpt tool as well.

January 14, 2009, 13:18 (GMT)
2.5

Hrmf; sconscript apparently can't do emtpy dirs!

January 14, 2009, 13:06 (GMT)
2.5

Still old editNurb here... last part
(I committed in parts, have gpencil restored here and can't
commit that yet!)

January 14, 2009, 13:05 (GMT)
2.5

Still old editNurb here...

January 14, 2009, 13:04 (GMT)
2.5

Still some old editNurb here...

January 14, 2009, 12:26 (GMT)
2.5

Another one back: editcurve.c

- removed global editNurb everywhere
(cu->editnurb now has listbase with edit data)
- also added 'active bpoint' and 'active nurb' in
Curve struct
- editmode in/out works, mouse/border select works

January 14, 2009, 03:02 (GMT)
Moved a couple more sculpt settings into operator properties, including shiftkey for flipping stroke direction in or out

January 13, 2009, 23:21 (GMT)
Noticed that sculpt was quite slow because of string lookups in RNA, so added a separate sculpt stroke cache for some values that usually aren't even changed except at stroke initialization.

January 13, 2009, 22:59 (GMT)
BGE patch: dynamically update the coumpound parent shape when parenting to a compound object.

This patch modifies the way the setParent actuator and KX_GameObject::setParent() function
works when parenting to a compound object: the collision shape of the object being parented
is dynamically added to the coumpound shape.
Similarly, unparenting an object from a compound object will cause the child collision shape
to be dynamically removed from the parent shape provided that is was previously added with
setParent.

Note: * This also works if the object is parented to a child of a compound object: the
collision shape is added to the compound shape of the top parent.
* The collision shape is added with the transformation (position, scale and orientation)
it had at the time of the parenting.
* The child shape is rigidly attached to the compound shape, the transformation is not
affected by any further change in position/scale/orientation of the child object.
* While the child shape is added to the compound shape, the child object is removed from
the dynamic world to avoid superposition of shapes (one for the object itself and
one for the compound child shape). This means that collision sensors on the child
object are disabled while the child object is parent to a compound object.
* There is no difference when setParent is used on a non-compound object: the child
object is automatically changed to a static ghost object to avoid bad interaction
with the parent shape; collision sensors on the child object continue to be active
while the object is parented.
* The child shape dynamically added to a compound shape modifies the inertia of the
compound object but not the mass. It participates to collision detection as any other
"static" child shape.
January 13, 2009, 22:21 (GMT)
Bullet bug fix: bad pointer in btCompoundShape::addChildShape() - patch submited to Bullet forum. This bug fix is needed in preparation of the setparent coumpound shape patch.
January 13, 2009, 21:18 (GMT)
2.5 / Keymap definition
* For some reason builds on Windows would crash when tabbing into edit mode with default .b.blend
Problem is that it is not very clear why it happens. The debug trace I managed to get pointed at
SCRIPT_OT_run_pyfile being run when pressing TAB.
Changing the way how this quickhack for running scripts is added made the crash go away, but this
points at a potential problem in the creation of keymaps. The original form is the plenty used:

RNA_string_set(WM_keymap_add_item(keymap, "SCRIPT_OT_run_pyfile", PKEY, KM_PRESS, 0, 0)->ptr, "filename", "test.py");

But changing that to:

km = WM_keymap_add_item(keymap, "SCRIPT_OT_run_pyfile", PKEY, KM_PRESS, 0, 0);
RNA_string_set(km->ptr, "filename", "test.py");

Properly prevents the execution of the script operator. It looks like somewhere
something goes wrong, but no idea what, yet. Probably a good thing to investigate now!
Apparently this doesn't happen on Linux (and probably not on OSX either).
January 13, 2009, 20:50 (GMT)
Now that modal sculpt does stuff, added exec code. For this, added new Stroke RNA. For now, it's just 3D brush location, but lots more will be added (e.g. tablet pressure)

Pressing f4 to redo a stroke now works as expected.

January 13, 2009, 20:38 (GMT)
Added missing sculpt header
January 13, 2009, 20:30 (GMT)
2.5 MSVC9 projectfiles
* added new files in editors/object and editors/space_sequence
* added seqeffects.c in blenkernel
January 13, 2009, 19:57 (GMT)
More sculpt work. Very very basic sculpt operators implemented, one for toggling the mode, the other for the brush. This just allows entering sculptmode and drawing using a simple brush. (Note the operator is still modal, no exec yet.)

January 13, 2009, 19:28 (GMT)
2.5 / Nodes
* add a list area for material/texture/scene selection.
January 13, 2009, 19:01 (GMT)
2.5 / SCons / Temporary Hack
* curve, gpencil, physics and preview don't have sources yet, so scons fails on that. Disabled for now
Ton, when you actually put something in those dirs, remember to uncomment them in the editors/SConscript.
January 13, 2009, 17:10 (GMT)
2.5 / Nodes
* forgot to revert this with previous commit
January 13, 2009, 16:18 (GMT)
2.5

Added last few remaining modules in editors. Then the msvc
maintainer can already start typing! Only uv_paint is not
added, not sure how far Brecht is locally already.

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021