Culling working again
compiles on windows
Merge pull request #6281 from ricardoquesada/autoculling_working_ok

Culling working again