afbe9a7e78
- set material to "use nodes" - don't add a material-node yet, but set "Halo" on. Crash! Added a missing NULL pointer check.