projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fov slider input maps menu stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
blender_export.py
diff --git
a/blender_export.py
b/blender_export.py
index b6ca3e7208c71d054a869d3b65eeae01902907af..7b0751e1fee2d63fef019248239dfec1088f2cc9 100644
(file)
--- a/
blender_export.py
+++ b/
blender_export.py
@@
-1943,6
+1943,9
@@
def write_model(collection_name):
#{
global g_encoder
print( F"Model graph | Create mode '{collection_name}'" )
#{
global g_encoder
print( F"Model graph | Create mode '{collection_name}'" )
+ folder = bpy.path.abspath(bpy.context.scene.cv_data.export_dir)
+ path = F"{folder}{collection_name}.mdl"
+ print( path )
collection = bpy.data.collections[collection_name]
collection = bpy.data.collections[collection_name]
@@
-1958,8
+1961,6
@@
def write_model(collection_name):
# Write
#
# Write
#
- # TODO HOLY
- path = F"/home/harry/Documents/carve/models_src/{collection_name}.mdl"
encoder_write_to_file( path )
print( F"Completed {collection_name}.mdl" )
encoder_write_to_file( path )
print( F"Completed {collection_name}.mdl" )