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:
-rw-r--r--io_export_pc2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/io_export_pc2.py b/io_export_pc2.py
index b09d5a73..dadfb317 100644
--- a/io_export_pc2.py
+++ b/io_export_pc2.py
@@ -46,9 +46,8 @@ import time
from bpy_extras.io_utils import ExportHelper
def getSampling(start, end, sampling):
- samples = [start - sampling
- + x * sampling
- for x in range(start, int((end-start) * 1.0 / sampling) + 1)]
+ samples = [start + x * sampling
+ for x in range(int((end - start) / sampling) + 1)]
return samples
def do_export(context, props, filepath):