projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed recursive build script
[carveJwlIkooP6JGAAIwe30JlM.git]
/
blender_export.py
diff --git
a/blender_export.py
b/blender_export.py
index acd28ec3bcfcadbd96bc17cc539bd1508a78f86d..86b65410919ff61854517a805ca73b096bafa84a 100644
(file)
--- a/
blender_export.py
+++ b/
blender_export.py
@@
-1,3
+1,7
@@
+#
+# Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
+#
+
import bpy, math, gpu
import cProfile
from ctypes import *
import bpy, math, gpu
import cProfile
from ctypes import *
@@
-132,8
+136,7
@@
class classtype_route_node(Structure):
class classtype_route(Structure):
_pack_ = 1
class classtype_route(Structure):
_pack_ = 1
- _fields_ = [("pstr_name",c_uint32),
- ("id_start",c_uint32),
+ _fields_ = [("id_start",c_uint32),
("colour",c_float*3)]
class classtype_skin(Structure):
("colour",c_float*3)]
class classtype_skin(Structure):
@@
-855,7
+858,6
@@
def write_model(collection_name):
node.classtype = 9
entdata_length += sizeof( classtype_route )
r = classtype_route()
node.classtype = 9
entdata_length += sizeof( classtype_route )
r = classtype_route()
- r.pstr_name = emplace_string("not-implemented")
r.colour[0] = obj.cv_data.colour[0]
r.colour[1] = obj.cv_data.colour[1]
r.colour[2] = obj.cv_data.colour[2]
r.colour[0] = obj.cv_data.colour[0]
r.colour[1] = obj.cv_data.colour[1]
r.colour[2] = obj.cv_data.colour[2]