Duplicate lines on fishing rod

When vanilla fishing rod is used then put into offhand and then fishing rod from other mod is used (which works differently and doesnt have ItemAbilities.FISHING_ROD_CAST) the vanilla bobber then connects to the fishing rod from another mod This doesnt happen without iris so i assume its a bug todo with iris. Is there anything that might be causing this i can do in the other mod, development wise, to solve this?
No description
Solution:
this is caused because of line strips having no default primitive restart
Jump to solution
5 Replies
DuckXYZ
DuckXYZOP4d ago
it seems to have some kind of randomness to it? the first like 20 tiumes i tried reproducing this bug it wasnt happening but then suddenly it now happens everytime with nothing changed
IMS
IMS4d ago
what verson of Iris?
Solution
IMS
IMS4d ago
this is caused because of line strips having no default primitive restart
IMS
IMS4d ago
i don't think you can use real primitive restart, but putting a vertex with a position of NaN before drawing the fishing line might work?
DuckXYZ
DuckXYZOP4d ago
Had the issue on versions 1.8.7 to 1.8.12 i tested il try that fix later thank u il let u know if it works ye i added a NaN vertex like you said after i rendered my line and it fixed it thank you

Did you find this page helpful?