Skip to content

Commit

Permalink
Miscellaneous cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
dictoon committed Jul 25, 2017
1 parent 0e647f7 commit 16dc3a1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,2 +1 @@
__pycache__/

3 changes: 1 addition & 2 deletions export.py
Expand Up @@ -47,9 +47,8 @@ def poll(cls, context):
return renderer.engine == 'APPLESEED_RENDER'

def execute(self, context):
scene = context.scene
appleseed_proj = project_file_writer.write_project_file()
appleseed_proj.export(scene, util.realpath(self.filepath))
appleseed_proj.export(context.scene, util.realpath(self.filepath))
return {'FINISHED'}


Expand Down
1 change: 1 addition & 0 deletions project_file_writer.py
Expand Up @@ -73,6 +73,7 @@ def export(self, scene, file_path):
'''
Write the .appleseed project file for rendering.
'''

if scene is None:
self.__error("No scene to export.")
return
Expand Down
1 change: 0 additions & 1 deletion ui/__init__.py
Expand Up @@ -35,7 +35,6 @@
from . import camera
from . import objects
from . import materials
#from . import particles
from . import lamps

import bl_ui.properties_texture as properties_texture
Expand Down

0 comments on commit 16dc3a1

Please sign in to comment.