|
From: <br...@us...> - 2008-11-03 07:58:02
|
Revision: 3759
http://openvrml.svn.sourceforge.net/openvrml/?rev=3759&view=rev
Author: braden
Date: 2008-11-03 07:57:59 +0000 (Mon, 03 Nov 2008)
Log Message:
-----------
Assert that the scene pointer is nonnull (i.e., the node has been initialized).
Modified Paths:
--------------
branches/0.17/ChangeLog
branches/0.17/src/libopenvrml/openvrml/vrml97node.cpp
Modified: branches/0.17/ChangeLog
===================================================================
--- branches/0.17/ChangeLog 2008-11-03 07:55:53 UTC (rev 3758)
+++ branches/0.17/ChangeLog 2008-11-03 07:57:59 UTC (rev 3759)
@@ -1,5 +1,11 @@
2008-11-03 Braden McDaniel <br...@en...>
+ * src/libopenvrml/openvrml/vrml97node.cpp
+ (image_texture_node::update_texture()): Assert that the scene
+ pointer is nonnull (i.e., the node has been initialized).
+
+2008-11-03 Braden McDaniel <br...@en...>
+
* src/libopenvrml/openvrml/browser.cpp
(proto_node::do_shutdown(double)): Doc-comment fix.
Modified: branches/0.17/src/libopenvrml/openvrml/vrml97node.cpp
===================================================================
--- branches/0.17/src/libopenvrml/openvrml/vrml97node.cpp 2008-11-03 07:55:53 UTC (rev 3758)
+++ branches/0.17/src/libopenvrml/openvrml/vrml97node.cpp 2008-11-03 07:57:59 UTC (rev 3759)
@@ -12615,6 +12615,7 @@
*/
void image_texture_node::update_texture()
{
+ assert(this->scene());
if (this->texture_needs_update) {
try {
if (!this->url_.mfstring::value().empty()) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|