NevilArt / BsMax

BsMax Blender Addon (UI simulator/ Modeling/ Rigg & Animation/ Render Tools and ...
GNU General Public License v3.0
212 stars 25 forks source link

Path sort: Error if there is one object #7

Closed ngowangvinh closed 3 years ago

ngowangvinh commented 3 years ago

If there is only one object for path sorting, error will occur!!

Python: Traceback (most recent call last):
  File "C:\Users\axbx\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\BsMax_2_80-master\tools\public\object\arrange.py", line 87, in execute
    t= i/count if close else i/(count - 1)
ZeroDivisionError: division by zero

location: <unknown location>:-1
NevilArt commented 3 years ago

Thank you for report the bug. I fix it and add some future. Now you can set the start and end on length of curve to put object in between them.