Blender Git Loki

Git Commits -> Revision 3daa8bd

Revision 3daa8bd by Campbell Barton (master)
May 20, 2009, 23:31 (GMT)
fix for [#18772] c3d_import script crashes
Patch from Roger Wickes update to 2.48 sFrame, eFrame, fps.


[#18794] GE API conversion script: 2.48 -> 2.49
patch from Alex Fraser (z0r), will test further in the next few days.
---
This is text plug in and standalone script that updates Blender 2.48 Game Engine scripts to be compatible with the 2.49
API.

The script contains a mapping of attribute names to functions that do the conversion. Most of the mappings were extracted
from the documentation in GameTypes.py. Where the conversion is ambiguous, the script will not change the source except
to insert a warning as a comment. This means that the script does not completely automate the conversion process, but
will do a lot of the work.

The script still needs a fair bit of testing. Many of the mappings have not been tested and could result in broken scripts.
I'm submitting this patch now to start the review process early. I think I might need help if it is to be included in
2.49.

Commit Details:

Full Hash: 3daa8bd4ef5a52c40b01827b55df3807a1917eea
SVN Revision: 20310
Parent Commit: fcdb34f
Lines Changed: +764, -5

1 Added Path:

/release/scripts/textplugin_convert_ge.py (+677, -0) (View)

2 Modified Paths:

/release/scripts/c3d_import.py (+4, -3) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+83, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021