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>2014-11-08 18:37:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-11-08 18:37:12 +0300
commitd9f575eb1738fd2b754913e341e7b53002a047bd (patch)
treeaa9877851de59f10346c0c8fa3649acd509f474f /add_mesh_extra_objects
parentfea70a406b9715a02908c4da88517cd93e1f1ada (diff)
Cleanup: redundant float conversions
Diffstat (limited to 'add_mesh_extra_objects')
-rw-r--r--add_mesh_extra_objects/add_mesh_3d_function_surface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_extra_objects/add_mesh_3d_function_surface.py b/add_mesh_extra_objects/add_mesh_3d_function_surface.py
index 00227dd7..1f9d4b14 100644
--- a/add_mesh_extra_objects/add_mesh_3d_function_surface.py
+++ b/add_mesh_extra_objects/add_mesh_3d_function_surface.py
@@ -178,8 +178,8 @@ class AddZFunctionSurface(bpy.types.Operator):
verts = []
faces = []
- delta_x = size_x / float(div_x - 1)
- delta_y = size_y / float(div_y - 1)
+ delta_x = size_x / (div_x - 1)
+ delta_y = size_y / (div_y - 1)
start_x = -(size_x / 2.0)
start_y = -(size_y / 2.0)