]> git.tdb.fi Git - libs/gl.git/commit
Exception fixes
authorMikko Rasa <tdb@tdb.fi>
Thu, 30 Aug 2012 08:41:15 +0000 (11:41 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 30 Aug 2012 08:41:15 +0000 (11:41 +0300)
commitb250a711295f5ba00114f11a5b1c855eebe08d26
treeec6475900f72f36439d389f8c7040c1f153f79bf
parent223e33164d0706d357efc03da1dc31a653f6afcf
Exception fixes

Use out_of_range only when accessing arrays or array-like things, not for
general numeric arguments.

Armature::get_link functions now throw key_error since they behave like
map access externally.
source/animation.cpp
source/armature.cpp
source/bloom.cpp
source/buffer.cpp
source/object.cpp
source/pose.cpp
source/texturecube.cpp
source/texunit.cpp
source/vertexformat.cpp