Jump to content

EnidanBri

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by EnidanBri

  1. Hi all, I found and corrected an issue in the SplinePaintPanel.lua: The script took ages for me to finish, especially on longer splines, therefore I started searching the code what causes this. The reason for the script being unneccesary slow is the inner loop where the textures are painted, at for i = 0, mSideCount,mSplinePiecePoint do I think you would want to use mSplinePieceP (which is the same as texDistance) instead of mSplinePiecePoint. mSplinePiecePoint is defined as the current percentage of the length of the spline. So you are making way too small steps / too many loops for painting to the left and right of the spline. The other scripts don't have this issue. Kind Regards, Nadine