~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to release/scripts/flt_properties.py

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        elif type == 'i':
198
198
                fw.write_int(value)
199
199
        elif type == 'I':
200
 
                fw.write_uint(value)
 
200
                #NOTE!:
 
201
                #there is no unsigned int type in python, but we can only store signed ints in ID props
 
202
                newvalue = struct.unpack('>I', struct.pack('>i', value))[0]
 
203
                fw.write_uint(newvalue)
201
204
        elif type == 'd':
202
205
                fw.write_double(value)
203
206
        elif type == 'f':
267
270
FLTLOD = {
268
271
        '3t8!id' : 'L',
269
272
        '4i!reserved' : 0,
270
 
        '5d!switch in' : 0,
271
 
        '6d!switch out' : 0,
 
273
        '5d!switch in' : 0.0,
 
274
        '6d!switch out' : 0.0,
272
275
        '7s!sfx ID1' : 0,
273
276
        '8s!sfx ID2' : 0,
274
277
        '9I!flags' : 0,
275
 
        '10d!X co' : 0,
276
 
        '11d!Y co' : 0,
277
 
        '12d!Z co' : 0,
278
 
        '13d!Transition' : 0,
279
 
        '14d!Sig Size' : 0
 
278
        '10d!X co' : 0.0,
 
279
        '11d!Y co' : 0.0,
 
280
        '12d!Z co' : 0.0,
 
281
        '13d!Transition' : 0.0,
 
282
        '14d!Sig Size' : 0.0
280
283
}
281
284
FLTLODDisplay = [4]
282
285