mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Improve error reporting for BIMTester auditing lists
This commit is contained in:
@@ -1712,7 +1712,7 @@ class SelectFeaturesDir(bpy.types.Operator):
|
||||
filepath: bpy.props.StringProperty(subtype="FILE_PATH")
|
||||
|
||||
def execute(self, context):
|
||||
bpy.context.scene.BIMProperties.features_dir = os.path.dirname(os.path.abspath(self.filepath))
|
||||
bpy.context.scene.BIMProperties.features_dir = os.path.dirname(os.path.abspath(self.filepath)) if '.' in self.filepath else self.filepath
|
||||
return {'FINISHED'}
|
||||
|
||||
def invoke(self, context, event):
|
||||
|
||||
Reference in New Issue
Block a user