diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-17 12:36:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-17 12:36:17 +0400 |
commit | 0e0e528ea4f9529a549ab50a6a2da7a3187258a8 (patch) | |
tree | 665ad9cb332268f7639e00ad665bbdf8d14a7a8b /release/scripts/startup/bl_operators | |
parent | f0f398dcf3101079f4965185eb82c23c54fc6923 (diff) |
Cleanup: pep8
Diffstat (limited to 'release/scripts/startup/bl_operators')
4 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/__init__.py b/release/scripts/startup/bl_operators/__init__.py index 4f6863a590c..e44fce63acd 100644 --- a/release/scripts/startup/bl_operators/__init__.py +++ b/release/scripts/startup/bl_operators/__init__.py @@ -9,7 +9,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -#, +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py index 42ab99ed399..756b75b8d03 100644 --- a/release/scripts/startup/bl_operators/anim.py +++ b/release/scripts/startup/bl_operators/anim.py @@ -306,7 +306,8 @@ class UpdateAnimatedTransformConstraint(Operator): paths = from_paths | to_paths def update_cb(base, class_name, old_path, fcurve, options): - print(options) + # print(options) + def handle_deg2rad(fcurve): if fcurve is not None: if hasattr(fcurve, "keyframes"): diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py index 32688299b76..c79ff303dfb 100644 --- a/release/scripts/startup/bl_operators/object_quick_effects.py +++ b/release/scripts/startup/bl_operators/object_quick_effects.py @@ -289,8 +289,8 @@ def obj_bb_minmax(obj, min_co, max_co): max_co[0] = max(bb_vec[0], max_co[0]) max_co[1] = max(bb_vec[1], max_co[1]) max_co[2] = max(bb_vec[2], max_co[2]) - - + + def grid_location(x, y): return (x * 200, y * 150) diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 5c3f94a8739..8d04cb132e6 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1934,7 +1934,6 @@ class WM_OT_addon_install(Operator): try: os.makedirs(path_addons, exist_ok=True) except: - import traceback traceback.print_exc() # Check if we are installing from a target path, |