Skip to content

Commit

Permalink
Syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenXenith committed Feb 18, 2020
1 parent 3edc46e commit f189786
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@ class ImportB3D(bpy.types.Operator, ImportHelper):
bl_options = {'UNDO'}

filename_ext = ".b3d"
filter_glob : StringProperty(default="*.b3d", options={'HIDDEN'})
filter_glob = StringProperty(default="*.b3d", options={'HIDDEN'})

constrain_size : FloatProperty(
constrain_size = FloatProperty(
name="Size Constraint",
description="Scale the model by 10 until it reaches the "
"size constraint (0 to disable)",
min=0.0, max=1000.0,
soft_min=0.0, soft_max=1000.0,
default=10.0,
)
use_image_search : BoolProperty(
use_image_search = BoolProperty(
name="Image Search",
description="Search subdirectories for any associated images "
"(Warning, may be slow)",
default=True,
)
use_apply_transform : BoolProperty(
use_apply_transform = BoolProperty(
name="Apply Transform",
description="Workaround for object transformations "
"importing incorrectly",
Expand Down Expand Up @@ -107,13 +107,9 @@ class ExportB3D(bpy.types.Operator, ExportHelper):
bl_label = 'Export B3D'

filename_ext = ".b3d"
filter_glob = StringProperty(default="*.b3d", options={'HIDDEN'})

filter_glob: StringProperty(
default="*.b3d",
options={'HIDDEN'},
)

use_selection: BoolProperty(
use_selection = BoolProperty(
name="Selection Only",
description="Export selected objects only",
default=False,
Expand Down

0 comments on commit f189786

Please sign in to comment.