OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Fixed crash in UnitTexture, when external texture has no image.


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
airion
User


Joined: 11 Aug 2010
Posts: 31

PostPosted: Thu Nov 17, 2011 9:06 am    Post subject:
Fixed crash in UnitTexture, when external texture has no image.
Reply with quote

Please find attached fix. It fixes a null pointer dereferencing in UnitTexture::setTexture(), when tex has no image, yet.

Regards,
--Alex
Back to top
View user's profile Send private message
art (Art Tevs)
Site Admin


Joined: 20 Dec 2008
Posts: 414
Location: Saarbr├╝cken, Germany

PostPosted: Thu Nov 17, 2011 10:16 pm    Post subject:
Re: Fixed crash in UnitTexture, when external texture has no image.
Reply with quote

Hi Alex,

thanks, I've patched the file.

art

airion wrote:
Please find attached fix. It fixes a null pointer dereferencing in UnitTexture::setTexture(), when tex has no image, yet.

Regards,
--Alex
Back to top
View user's profile Send private message Visit poster's website
gena22
Newbie


Joined: 21 Nov 2011
Posts: 2

PostPosted: Tue Nov 22, 2011 5:18 am    Post subject:
Reply with quote

Thank you!
Back to top
View user's profile Send private message
gena22
Newbie


Joined: 21 Nov 2011
Posts: 2

PostPosted: Wed Jan 04, 2012 11:47 am    Post subject:
Fixed crash in UnitTexture, when external texture has no image.
Reply with quote

Thank you!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43990#43990







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts osg::Image::setImage problem evanyftsai General 6 Sat Feb 18, 2017 2:38 am View latest post
No new posts Multitexture: projection a texture on... Ekaterina General 2 Mon Feb 06, 2017 1:48 pm View latest post
No new posts How to set texture coordinates Ekaterina General 0 Fri Jan 13, 2017 5:39 pm View latest post
No new posts Camera::resizeAttachments + texture rect James Turner General 1 Wed Jan 04, 2017 5:22 pm View latest post
No new posts Any good site/software to get texture... vinothrajendran4 VirtualPlanetBuilder [vpb] 1 Fri Dec 30, 2016 9:31 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP