Advertisement

Crash when aggregating a template class that has no default factory

Started by December 22, 2011 09:19 PM
1 comment, last by WitchLord 13 years, 2 months ago
Hi,

If you expose a template class which has no default factory, the engine asserts in CallGlobalFunctionRetPtr because the objType->beh.construct passed from AllocateObject is 0. However, I don't have any errors at compile time. ( I should have one, since the object has no default constructor ... ) It's pretty easy to reproduce. Any ideas how to fix that ?

Thanks

Pierre
I'll look into it. Thanks for the report.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
I've fixed this bug in revision 1082.

Thanks,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement