Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/modules/io_utils.py')
-rw-r--r--release/scripts/modules/io_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/io_utils.py b/release/scripts/modules/io_utils.py
index 0b333d29377..10729c465b7 100644
--- a/release/scripts/modules/io_utils.py
+++ b/release/scripts/modules/io_utils.py
@@ -25,7 +25,7 @@ from bpy.props import StringProperty, BoolProperty
class ExportHelper:
filepath = StringProperty(name="File Path", description="Filepath used for exporting the file", maxlen=1024, default="", subtype='FILE_PATH')
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
-
+
# subclasses can override with decorator
# True == use ext, False == no ext, None == do nothing.
check_extension = True
@@ -46,7 +46,7 @@ class ExportHelper:
def check(self, context):
check_extension = self.check_extension
-
+
if check_extension is None:
return False