io_coat3D: trying to solve scaling issue

This commit is contained in:
Kalle-Samuli Riihikoski 2019-09-21 21:25:45 +03:00
parent 0d585a73ef
commit a1fd696188
1 changed files with 1 additions and 1 deletions

View File

@ -1142,7 +1142,7 @@ class SCENE_OT_import(bpy.types.Operator):
bpy.context.collection.all_objects[del_obj].select_set(True)
objekti = bpy.context.collection.all_objects[del_obj]
#bpy.ops.object.transforms_to_deltas(mode='ROT')
objekti.scale = (2.7, 2.7, 2.7)
objekti.scale = (0.01, 0.01, 0.01)
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')
objekti.data.coat3D.name = '3DC'