Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-07-15 20:56:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-15 20:56:27 +0400
commit29f96aa28788a4fc8864c2518e972c5c7d1b5dcc (patch)
tree75795a36193853317448262e8817e2461a6660ad /mesh_surface_sketch.py
parentf15da84f3619b91098e60ab3ca369396cafd7196 (diff)
update for changes in blenders api.
Diffstat (limited to 'mesh_surface_sketch.py')
-rw-r--r--mesh_surface_sketch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesh_surface_sketch.py b/mesh_surface_sketch.py
index 35876520..37bc2bc7 100644
--- a/mesh_surface_sketch.py
+++ b/mesh_surface_sketch.py
@@ -184,7 +184,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator):
all_selected_verts = []
all_verts_idx = []
for ed in self.main_object.data.edges:
- if ed.selected:
+ if ed.select:
all_selected_edges_idx.append(ed.index)
# Selected vertexes.
@@ -717,8 +717,8 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator):
#### Join the new mesh to the main object.
- ob_surface.selected = True
- self.main_object.selected = True
+ ob_surface.select = True
+ self.main_object.select = True
bpy.context.scene.objects.active = bpy.data.objects[self.main_object.name]
bpy.ops.object.join()
bpy.ops.object.editmode_toggle()