libWetHair icon indicating copy to clipboard operation
libWetHair copied to clipboard

Add necessary null pointer checks

Open jerry060599 opened this issue 1 year ago • 1 comments

The null check for m_polygonal_cohesion is missing at https://github.com/nepluno/libWetHair/blob/822544a8339aff64a0e1cc1271855e5f2a947c13/libWetHair/TwoDScene.cpp#L497C3-L497C57

Turning off/not using PolygonalCohesion will cause a crash.

jerry060599 avatar Oct 28 '24 23:10 jerry060599

Relevant #4

jerry060599 avatar Oct 28 '24 23:10 jerry060599