Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24743
Modified Files:
Tag: OpenVRML-0_16-BRANCH
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.1310.2.176
retrieving revision 1.1310.2.177
diff -C2 -d -r1.1310.2.176 -r1.1310.2.177
*** ChangeLog 31 May 2007 07:18:16 -0000 1.1310.2.176
--- ChangeLog 31 May 2007 07:59:15 -0000 1.1310.2.177
***************
*** 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
|