Skip to content

Commit

Permalink
Merge pull request #76 from kromar/bugfix/importmenu
Browse files Browse the repository at this point in the history
Bugfix/importmenu
  • Loading branch information
kromar authored May 8, 2020
2 parents 1880399 + 6591cb3 commit 2999974
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"name": "GoB",
"description": "An unofficial GOZ-like addon for Blender",
"author": "ODe, JoseConseco, Daniel Grauer",
"version": (3, 2, 3),
"version": (3, 2, 4),
"blender": (2, 82, 0),
"location": "In the info header",
"wiki_url": "http://wiki.blender.org/index.php/Extensions:"
Expand Down
9 changes: 5 additions & 4 deletions preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ class GoBPreferences(AddonPreferences):
subtype='FACTOR')

import_polygroups_to_vertexgroups: bpy.props.BoolProperty(
name="to Vertex Groups",
name="Polygroups to Vertex Groups",
description="Import Polygroups as Vertex Groups",
default=True)

import_polygroups_to_facemaps: bpy.props.BoolProperty(
name="to Face Maps",
name="Polygroups to Face Maps",
description="Import Polygroups as Face Maps",
default=True)

Expand Down Expand Up @@ -143,13 +143,14 @@ def draw(self, context):


# IMPORT
col = layout.column(heading="Diffuse", align=True)
col = layout.column(align=True)
box = layout.box()
box.label(text='Import', icon='IMPORT')
#box.prop(self, 'import_method') #TODO: disabled, some bugs when switching
#box.prop(self, 'import_scale_factor') #TODO
box.prop(self, 'import_material')
col = box.column(heading="Polygroups", align=True)

col = box.column(align=True)
col.prop(self, 'import_polygroups_to_vertexgroups')
#col.prop(self, 'import_polygroups_to_uvs') #TODO
col.prop(self, 'import_polygroups_to_facemaps')
Expand Down

0 comments on commit 2999974

Please sign in to comment.