Skip to content

Commit ab1791c

Browse files
authored
Merge pull request #104 from MaximeHerpin/release-2.7
Release 2.7
2 parents 12f81bd + a388d70 commit ab1791c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
bl_info = {
3434
"name": "Modular trees",
3535
"author": "Herpin Maxime, Jake Dube",
36-
"version": (2, 6),
36+
"version": (2, 7),
3737
"blender": (2, 77, 0),
3838
"location": "View3D > Tools > Tree > Make Tree",
3939
"description": "Generates an organic tree with correctly modeled branching.",

check_for_updates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def execute(self, context):
3737
page = parser.get_results()
3838

3939
# "version ": (n, n )
40-
my_regex = re.compile(r'\"version\":\s*\(2,\s*6\)', re.DOTALL)
40+
my_regex = re.compile(r'\"version\":\s*\(2,\s*7\)', re.DOTALL)
4141
# check if version number is on page
4242
if re.search(my_regex, page):
4343
self.report({'ERROR'}, "You have the latest official release.")

tree_creator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ def create_tree(position, is_twig=False):
941941
bpy.ops.object.select_all(action='DESELECT')
942942
obj.select = True
943943
arm.select = True
944-
mtree_props.objects.active = arm
944+
scene.objects.active = arm
945945
bpy.ops.object.parent_set(type='ARMATURE_AUTO')
946946
bpy.ops.object.select_all(action='DESELECT')
947947
clock.stop("armature")

0 commit comments

Comments
 (0)