diff --git a/add_mesh_pipe_joint.py b/add_mesh_pipe_joint.py index 057ad11a3366d635ae94630a9d5b4fa74156842c..b43d6564234f08a2e7d8afe179ad686944a7ae6b 100644 --- a/add_mesh_pipe_joint.py +++ b/add_mesh_pipe_joint.py @@ -172,7 +172,7 @@ def create_mesh_object(context, verts, edges, faces, name, edit, align_matrix): # Use the active obj and select it. ob_new = obj_act - ob_new.selected = True + ob_new.select = True if obj_act.mode == 'OBJECT': # Get existing mesh datablock. diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py index 81077e34b6b0c87666c7a16bf3b91f41e03fe3cc..d6b70e0b050d15a7141c2a5261bdf038a20c271e 100644 --- a/io_mesh_raw/import_raw.py +++ b/io_mesh_raw/import_raw.py @@ -43,7 +43,7 @@ tolerance. import bpy # move those to a utility modul -from import_scene_obj import unpack_face_list, unpack_list # TODO, make generic +from io_utils import unpack_face_list, unpack_list # TODO, make generic def readMesh(filename, objName):