Blender Git Loki

Git Commits -> Revision cfa2b4f

Revision cfa2b4f by Campbell Barton (master)
May 23, 2009, 03:19 (GMT)
[#18802] BGE conversion script: more attributes; updated GameTypes.py
Patch from Alex Fraser (z0r)

- All attributes in the conversion map have been checked against the docs. More ambiguities have been resolved.
- Added option to convert all text buffers in Blender.
- Updated GameTypes.py: there were inconsistencies.

The script works well (causes no errors) with 0_FPS_Template.blend and vehicle_demo.blend from the
physics-2.43-physics-testfiles pack.

Caveats:
- Conversions were checked against other deprecated attributes. I may have missed some cases where a deprecated attribute
has the same name as a non-deprecated attribute. I did catch a few though.
- As with the last version, the conversion is purely text-based and doesn't compile the code. It's easy to create a
script that would break on conversion.

Still, it should get you 90% of the way to a converted script.

Commit Details:

Full Hash: cfa2b4f0a5530e0cdda09d466fff267ad9e7eccc
SVN Revision: 20349
Parent Commit: 8904978
Lines Changed: +242, -96

2 Modified Paths:

/release/scripts/textplugin_convert_ge.py (+211, -75) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+31, -21) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021