Crash on opening Wire project containing ISF shader

Post your questions here and we'll all try to help.
Post Reply
User avatar
optiphonic
Posts: 15
Joined: Mon Nov 27, 2023 20:58
Location: New Zealand

Crash on opening Wire project containing ISF shader

Post by optiphonic »

I was working on a shader to do SDF things with the wire point inputs
I was editing the for loops and then it crashed (as it seems to do a lot)
Now, I cannot open the project at all, just an immediate crash.

The project folder is attached.
Attachments
pointRings.zip
(6.61 KiB) Downloaded 186 times

sipsipsips
Posts: 8
Joined: Mon Sep 16, 2019 15:44
Location: Tokyo/Japan

Re: Crash on opening Wire project containing ISF shader

Post by sipsipsips »

Changed from i++ to j++ to avoid infinite loop, should at least open without crashing now.
Attachments
pointRings.isf.zip
(2.51 KiB) Downloaded 177 times
youtube.com/@selfimageprodukts

User avatar
optiphonic
Posts: 15
Joined: Mon Nov 27, 2023 20:58
Location: New Zealand

Re: Crash on opening Wire project containing ISF shader

Post by optiphonic »

sipsipsips wrote: Sat Jul 06, 2024 18:06 Changed from i++ to j++ to avoid infinite loop, should at least open without crashing now.
Haha true. Thanks! I'm suprised that incorrect shader code crashes wire, thought I must have screwed up something else.

User avatar
optiphonic
Posts: 15
Joined: Mon Nov 27, 2023 20:58
Location: New Zealand

Re: Crash on opening Wire project containing ISF shader

Post by optiphonic »

sipsipsips wrote: Sat Jul 06, 2024 18:06 Changed from i++ to j++ to avoid infinite loop, should at least open without crashing now.
Heres the working version, thought it was only fair since you helped :)
Attachments
pointRings.zip
(8.01 KiB) Downloaded 183 times

sipsipsips
Posts: 8
Joined: Mon Sep 16, 2019 15:44
Location: Tokyo/Japan

Re: Crash on opening Wire project containing ISF shader

Post by sipsipsips »

Accidentally rewritten code can crash not only Wire but other software as well. It's just a matter of opening it in a regular text editor and rewriting the relevant part without rushing, though. Anyway, glad it's fixed!
youtube.com/@selfimageprodukts

Post Reply