diff options
author | João Araújo <jaraujo98@gmail.com> | 2017-07-26 13:25:24 +0300 |
---|---|---|
committer | João Araújo <jaraujo98@gmail.com> | 2017-07-26 13:25:24 +0300 |
commit | 59908f5eb73670c97c5bb817290a0dac99089900 (patch) | |
tree | 709de097c1fac2ff7b172a8b50dc8a91d7b74860 /release/scripts/modules/bl_app_template_utils.py | |
parent | 595f2ca2e06e07acaccc473982bde7a5ed644b50 (diff) | |
parent | edc6bec9d60204cb81d2e7533402630b076d0d32 (diff) |
Merge remote-tracking branch 'origin/master' into gsoc2016-improved_extrusiongsoc2016-improved_extrusion
Diffstat (limited to 'release/scripts/modules/bl_app_template_utils.py')
-rw-r--r-- | release/scripts/modules/bl_app_template_utils.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/release/scripts/modules/bl_app_template_utils.py b/release/scripts/modules/bl_app_template_utils.py index b3a4824aa7b..b81971b98b6 100644 --- a/release/scripts/modules/bl_app_template_utils.py +++ b/release/scripts/modules/bl_app_template_utils.py @@ -165,12 +165,10 @@ def import_from_id(template_id, ignore_not_found=False): def activate(template_id=None): template_id_prev = _app_template["id"] - # not needed but may as well avoid activating same template - # ... in fact keep this, it will show errors early on! - """ + # not needed but may as well avoids redundant + # disable/enable for all add-ons on 'File -> New' if template_id_prev == template_id: return - """ if template_id_prev: _disable(template_id_prev) |