Skip to content

Commit

Permalink
Comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nobody Really committed Sep 1, 2016
1 parent aeb2947 commit 24366bc
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 76 deletions.
4 changes: 0 additions & 4 deletions godot_export_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,10 @@ def execute(self, context):

path = group[self.idx].export_path
if (path.find("//") == 0 or path.find("\\\\") == 0):
# If relative, convert to absolute
path = bpy.path.abspath(path)
path = path.replace("\\", "/")

# If path exists and group export name is set the group will be
# exported
if os.path.exists(path) and group[self.idx].export_name != "":

context.scene.layers = [True] * 20

if group[self.idx].export_name.endswith(".dae"):
Expand Down
5 changes: 1 addition & 4 deletions io_scene_dae/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#
# ##### END GPL LICENSE BLOCK #####

# <pep8-80 compliant>

import bpy
from bpy.props import StringProperty, BoolProperty, FloatProperty, EnumProperty

Expand Down Expand Up @@ -51,8 +49,7 @@ class ExportDAE(bpy.types.Operator, ExportHelper):
filter_glob = StringProperty(default="*.dae", options={"HIDDEN"})

# List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling.

# to the class instance from the operator settings before calling
object_types = EnumProperty(
name="Object Types",
options={"ENUM_FLAG"},
Expand Down
Loading

0 comments on commit 24366bc

Please sign in to comment.