2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-15 04:45:52 +00:00

Syntax error fixes

This commit is contained in:
Jack Andersen 2016-08-11 10:16:01 -10:00
parent 63e835daaa
commit 4917fb0b74

View File

@ -235,9 +235,9 @@ def dataout_loop():
1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 0.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0,
0.0, 0.0, 0.0, 1.0))
writepipebuf(struct.pack('fff', ambient_color[0], ambient_color[1], ambient_color[2]))
writepipebuf(struct.pack('IIfffffb', 0, 0, ambient_energy, 0.0, 1.0, 0.0, 0.0, False)
writepipebuf(struct.pack('IIfffffb', 0, 0, ambient_energy, 0.0, 1.0, 0.0, 0.0, False))
for obj in bpy.context.scene:
if obj.type == 'LAMP':
@ -280,7 +280,7 @@ def dataout_loop():
layer = obj.data['retro_layer']
writepipebuf(struct.pack('IIfffffb', layer, type, obj.data.energy, spotCutoff, constant, linear, quadratic,
castShadow)
castShadow))
elif cmdargs[0] == 'ACTORCOMPILE':
writepipeline(b'OK')