Cleanup: spelling in comments
This commit is contained in:
@@ -22,7 +22,7 @@ class ExportSomeData(Operator, ExportHelper):
|
||||
bl_idname = "export_test.some_data" # important since its how bpy.ops.import_test.some_data is constructed
|
||||
bl_label = "Export Some Data"
|
||||
|
||||
# ExportHelper mixin class uses this
|
||||
# ExportHelper mix-in class uses this.
|
||||
filename_ext = ".txt"
|
||||
|
||||
filter_glob: StringProperty(
|
||||
|
||||
@@ -25,7 +25,7 @@ class ImportSomeData(Operator, ImportHelper):
|
||||
bl_idname = "import_test.some_data" # important since its how bpy.ops.import_test.some_data is constructed
|
||||
bl_label = "Import Some Data"
|
||||
|
||||
# ImportHelper mixin class uses this
|
||||
# ImportHelper mix-in class uses this.
|
||||
filename_ext = ".txt"
|
||||
|
||||
filter_glob: StringProperty(
|
||||
|
||||
@@ -64,7 +64,7 @@ def main(context, event):
|
||||
# we could do lots of stuff but for the example just select.
|
||||
if best_obj is not None:
|
||||
# for selection etc. we need the original object,
|
||||
# evaluated objects are not in viewlayer
|
||||
# evaluated objects are not in view-layer.
|
||||
best_original = best_obj.original
|
||||
best_original.select_set(True)
|
||||
context.view_layer.objects.active = best_original
|
||||
|
||||
Reference in New Issue
Block a user