Fix incorrect use of assert, which would cause the release version to fail.
Fix incorrect use of assert, which would cause the release version to fail.

Alexpux/Coin3D,Alexpux/Coin3D,Alexpux/Coin3D,Alexpux/Coin3D