Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24779
Modified Files:
ChangeLog
Log Message:
Ensure indices into coordinate, normal, and color data are valid before using them in the renderer.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v
retrieving revision 1.1511
retrieving revision 1.1512
diff -C2 -d -r1.1511 -r1.1512
*** ChangeLog 31 May 2007 07:18:54 -0000 1.1511
--- ChangeLog 31 May 2007 07:59:32 -0000 1.1512
***************
*** 1,4 ****
--- 1,21 ----
2007-05-31 Braden McDaniel <br...@en...>
+ Ensure indices into coordinate, normal, and color data are valid
+ before using them in the renderer.
+
+ * src/libopenvrml-gl/openvrml/gl/viewer.cpp
+ (ShellData): Changed texAxes to be an array reference.
+ (ShellData::ShellData): Changed texAxes to be an array reference.
+ (insertShellConvex(ShellData *)): Ensure indices are valid before
+ using them.
+ (openvrml::gl::viewer::insert_shell(unsigned int, const
+ std::vector<vec3f> &, const std::vector<int32> &, const
+ std::vector<color> &, const std::vector<int32> &, const
+ std::vector<vec3f> &, const std::vector<int32> &, const
+ std::vector<vec2f> &, const std::vector<int32> &)): Initialize
+ texAxes to { 0, 1 }.
+
+ 2007-05-31 Braden McDaniel <br...@en...>
+
* src/libopenvrml/openvrml/browser.cpp
(openvrml::scene::url() const): Ensure the scene's URL is relative
|