Skip to content
Snippets Groups Projects
Commit 611f8093 authored by Stephen Swaney's avatar Stephen Swaney
Browse files

bugfix: #2031 World setIpo() method checks for wrong IPO type

wrong constant name.
parent 626503e4
Branches
Tags
No related merge requests found
......@@ -444,7 +444,7 @@ static PyObject *World_setIpo( BPy_World * self, PyObject * args )
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
"null ipo!" );
if( ipo->blocktype != ID_CA )
if( ipo->blocktype != ID_WO )
return EXPP_ReturnPyObjError( PyExc_TypeError,
"this ipo is not a World type ipo" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment