Superfluous nullptr check?
I saw the following code in PaperSprite.cpp
Maybe I am totally missing something, but how can the check (BodySetup == nullptr) ever fail?
I know it is a GC system, but I don't even see a reason to first set it to nullptr.. NewObject sets the value anyways.
I ask this mostly to see whether my understanding of the GC is correct :)
asked May 08 '17 at 01:28 AM in C++ Programming
I believe you're right.
Checking git log. commit 775efd976321dc2f66fc0f87f9eed65c7c3e9439
BodySetup3D and BodySetup2D is replaced by BodySetup, but the checking is not handled properly
answered May 08 '17 at 10:06 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here