Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 4703 / 5574

May 13, 2009, 17:02 (GMT)
BGE: 1-liner patch to put the Always sensor in non pulse mode by default. I've seen enough games with Always sensors in pulse mode while they should not; this patch should prevent this common mistake.
May 13, 2009, 16:48 (GMT)
BGE API cleanup: motion actuator. Apply patch from Moguri.
Revision 77f321d by Ken Hughes
May 13, 2009, 15:41 (GMT)
Python API
----------
Fix problem with ShrinkWrap PROJECT_OVER_NORMAL setting.

May 13, 2009, 12:26 (GMT)
use epy deprecated field and link to attributes
May 13, 2009, 10:15 (GMT)
Moved game engine types into GameTypes.py because every type put into a module giving lots of references to KX_GameObject.KX_GameObject and having to write in links like L{CListValue<CListValue.CListValue>}.

Looked into ways around this but epydoc has no way to import a class without its module and the @include field is maked as 'TODO'.

Also removed the outdated 'WhatsNew' section and linked to the 2.49 release notes.

May 13, 2009, 06:53 (GMT)
BGE #18691: Blenderplayer fullscreen messes up desktop on OS X Leopard. Applied patch #18705 by sbn. I cannot compile osx but the patch seems perfectly alright to me. Can OSX users confirm that it compiles well on the various OSX version?
May 13, 2009, 06:42 (GMT)
BGE #18732: Python Light options don't work with GLSL materials. Commited patch from dfelinto and moguri, thanks for the good work.
May 13, 2009, 02:01 (GMT)
I think this fix the black dots problem
(ZanQdo machine is just faster than mine.. so he will test :) )
May 13, 2009, 01:56 (GMT)
Renamed exported functions from render to have the RE_ prefix
RayObject_* => RE_rayobject_*
May 13, 2009, 00:20 (GMT)
[#18694] Added support for Wavefront OBJ groups for both the import and export scripts
from Paolo Ciccone (pciccone)

Im not that keen on this functionality since vertex groups in blender are for weight painting and OBJ's groups are more like sub-objects, The conversion between these is a poor approximation (one vertex group per face).
But this is still useful for using blender with poser so accepting these 2 patches.

Made some changes from the patch
*Export*
- vgroup off by default, since this is mainly useful for corner cases
- findVertexGroupName() - changed how exporting selects a vertex group for a face, use the highest combind weight for each group instead of the number of checking how many times the verts are in a group because they could have a zero weight.
- findVertexGroupName() - would fail if a faces verts were not in any groups, now return a (null) group
- Allow modifiers to export with vgroups

*Import*
- disable by default
- ignore (null) groups
- fixed a problem where the patch broke SPLIT_GROUPS
- move the group definition out of global namespace, breaks importing as a module.

--- Patch submission info
The import/export scripts included with Blender 2.48 don't save/preserve groups defined in OBJ file. This presents a
couple of issues: users loading an obj file with groups are not able to use a rather important set of data. When the
file is then saved the groups are lost bringing up both the issue of data loss and loss of functionality as groups are
used for rigging and morph target creation for Poser/DAZ Studio and all compatible applications. Of course other
animation/modeling packages that use OBJ files might be affected.

The solution that I present here simply patches the excellent python scripts written by Campbell Barton and Jiri Hnidek.
The new code implements the preservation of groups by creating Blender vertex groups during import and by re-writing
those groups in the OBJ file during export. Of course group ownership is idetermined at the face/polygon level and not
at the vertex level.

This rather simple solution makes Blender instantly one of the better tools to create Poser Morph targets (Full Body
Morphs) and conforming figures and clothing. Of course it's also adding a more complete support for the whole OBJ spec.

The patches are fitting well inside the established logic, have a minimal impact and are totally transparent to the
user. See the attached video (about 7 minutes long) for more details.

I noticed that the original scripts are formatted with tabs. I think it would be a good idea to follow the standard
Python recommendation and convert the scripts to use spaces. I didn't want to do it on my side as it would generate
a patch that replaces the whole file, not something that I wanted to do with my first submission :) But it would help
if people with access to SVN could do it.

Here is a short video that demonstrates the updates:
http://www.paolociccone.com/blender_obj_scripts.html

Cheers!
----

May 12, 2009, 23:53 (GMT)
Mixed declaration and code. That should teach me to ignore warnings.
May 12, 2009, 23:41 (GMT)
Fix crash when missing int argument for -s -e and -j.
May 12, 2009, 21:41 (GMT)
[#18735] Particle vertex group API for Python
from Alberto Santos (dnakhain)

Changed "None" to "" for returning an unset vertex group.
"" is a valid name for a vertex group this is asking for trouble.
May 12, 2009, 21:27 (GMT)
[#18711] Particle render API for Python
from Alberto Santos (dnakhain)
May 12, 2009, 21:13 (GMT)
[#18728] Particle (newtonian) physics API for Python
patch from Alberto Santos (dnakhain)
May 12, 2009, 19:48 (GMT)
BGE performance: allow to create display list on meshes with modifiers but without armature and shape keys. These modified meshes are static and can be put safely in a display list. As the rendering of modifiers is done in direct openGL call, it results is a bit performance boost.
May 12, 2009, 19:28 (GMT)
2.5 Buttons:

* Added basic Halo material options
May 12, 2009, 16:20 (GMT)
Fix face occlusion for projection paint, (was broken for all RC's but nobody noticed)
Its still not working right in perspective mode.
For bleed use a faster method then Barycentric weights function since the point is always on the edge.

last commit with memset in readfile.c missed one var.
May 12, 2009, 15:28 (GMT)
[#13726] Segfault with (Re)Appending objects
fix this by freeing the lib-file-data after linking or appending, re-appending will be slower now
(as slow as appending for the first time).

Not strictly needed, set the memory for bhead's to zero in readfile.c since comparisons are done later on with this data making valgrind complain.

Added some missing headers too.
Revision 5e0d2c8 by Joshua Leung
May 12, 2009, 11:36 (GMT)
Graph Editor Bugfix: Drivers for Materials now get shown
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021