Thus crashing OGRE if they're rendered without calling setMateria/setMaterialName.
Here's the issue I'm referring to (including reproduction code): https://ogre3d.atlassian.net/browse/OGRE-467
Should Prefabs not have any material assigned ?
-
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Should Prefabs not have any material assigned ?
Last edited by Mind Calamity on Sun Jan 11, 2015 8:33 pm, edited 1 time in total.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 139
Re: Should Prefabs not have any material assigned ?
That's interesting that I've never noticed the issue. I create planes all the time, but I always assign a material. The tutorials always do as well. This could be easily fixed ... I guess BaseWhite or BaseWhiteNoLighting is the material that's guaranteed to exist (it's the default material for a BillboardChain for example ... they get created in MaterialManager::initialise)
-
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: Should Prefabs not have any material assigned ?
Well this is awkward, I forgot to include the link to the issue.
And yeah, it's really weird it went unnoticed/unfixed for such a long time, it's just simple material assignment to one of those 2 materials.

And yeah, it's really weird it went unnoticed/unfixed for such a long time, it's just simple material assignment to one of those 2 materials.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- OGRE Team Member
- Posts: 4308
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 137
Re: Should Prefabs not have any material assigned ?
Will be fixed soon...once the respective pull-request (https://bitbucket.org/sinbad/ogre/pull- ... issue-467/) is matching our guide lines, I will merge it in.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...