Skip to content
Browse files

Blender 4.4.2

added producer info to output
  • Loading branch information...
1 parent e5d277f commit 4c968ef22656d767c4e3bb3cc087ddf749d41e39 jeff committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 Exporters/Blender/io_export_babylon.py
View
3 Exporters/Blender/io_export_babylon.py
@@ -1,7 +1,7 @@
bl_info = {
'name': 'Babylon.js',
'author': 'David Catuhe, Jeff Palmer',
- 'version': (4, 4, 1),
+ 'version': (4, 4, 2),
'blender': (2, 75, 0),
'location': 'File > Export > Babylon.js (.babylon)',
'description': 'Export Babylon.js scenes (.babylon)',
@@ -399,6 +399,7 @@ def to_scene_file(self):
# Open file
file_handler = io.open(self.filepathMinusExtension + '.babylon', 'w', encoding='utf8')
file_handler.write('{')
+ file_handler.write('"producer":{"name":"Blender","version":"' + bpy.app.version_string + '","exporter_version":"' + format_version() + '","file":"' + Main.nameSpace + '.babylon"},\n')
self.world.to_scene_file(file_handler)
# Materials

0 comments on commit 4c968ef

Please sign in to comment.
Something went wrong with that request. Please try again.