Itoo Software Forum

Author Topic: Spline path distribution crashes max (scene attached)  (Read 144 times)

Arqrenderz

  • Newbie
  • *
  • Posts: 6
Spline path distribution crashes max (scene attached)
« on: April 01, 2021, 06:39:13 AM »
Hi, im having some bad crashes here just trying to use a spline as a path, its not with all the splines but with a lot of them.
Managed to get a reproducible file.
The moment i select the path with Spacing option enabled max crashes, if i have vertex position enabled it works.
« Last Edit: April 01, 2021, 06:43:04 AM by Arqrenderz »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3177
    • iToo
Re: Spline path distribution crashes max (scene attached)
« Reply #1 on: April 01, 2021, 08:33:44 AM »
Hello. I can reproduce it here.
Thank You for the report and attached scene file.
Rokas
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3710
    • iToo Software
Re: Spline path distribution crashes max (scene attached)
« Reply #2 on: April 01, 2021, 10:15:44 AM »
Some of these splines are malformed because include empty sub-splines (without any vertex).

That was causing the crash in Forest. We added a check for this case, which be included in the next update.
Carlos Quintero
iToo Software

Arqrenderz

  • Newbie
  • *
  • Posts: 6
Re: Spline path distribution crashes max (scene attached)
« Reply #3 on: April 02, 2021, 06:50:54 PM »
Hi thx for the quick response! is there a way to delete those ghost splines??
I tried  a bunch of things but none worked...

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3710
    • iToo Software
Re: Spline path distribution crashes max (scene attached)
« Reply #4 on: April 03, 2021, 09:27:20 AM »
Please, try running the attached maxscript with the spline selected. That will remove the orphan lines.
Carlos Quintero
iToo Software