Page Menu
Home
Search
Configure Global Search
Log In
Files
F2651
patch-2647.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Ken Hughes (khughes)
Nov 13 2013, 1:05 PM
Size
1 KB
Subscribers
None
patch-2647.txt
View Options
Index: source/blender/python/api2_2x/NMesh.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/NMesh.c,v
retrieving revision 1.71
diff -u -r1.71 NMesh.c
--- source/blender/python/api2_2x/NMesh.c 22 May 2005 17:40:00 -0000 1.71
+++ source/blender/python/api2_2x/NMesh.c 12 Jul 2005 14:58:31 -0000
@@ -591,7 +591,7 @@
if( strcmp( name, "v" ) == 0 ) {
- if( PySequence_Check( v ) ) {
+ if( PyList_Check( v ) ) {
Py_DECREF( mf->v );
mf->v = EXPP_incr_ret( v );
@@ -599,7 +599,7 @@
}
} else if( strcmp( name, "col" ) == 0 ) {
- if( PySequence_Check( v ) ) {
+ if( PyList_Check( v ) ) {
Py_DECREF( mf->col );
mf->col = EXPP_incr_ret( v );
@@ -631,7 +631,7 @@
} else if( strcmp( name, "uv" ) == 0 ) {
- if( PySequence_Check( v ) ) {
+ if( PyList_Check( v ) ) {
Py_DECREF( mf->uv );
mf->uv = EXPP_incr_ret( v );
@@ -1692,7 +1692,7 @@
return Py_BuildValue( "[s,s,s,s,s,s,s,s,s,s]",
"name", "materials", "verts", "users",
"faces", "maxSmoothAngle",
- "subdivLevels", "edges", "oopsLoc", "oopsSel" );
+ "subDivLevels", "edges", "oopsLoc", "oopsSel" );
return Py_FindMethod( NMesh_methods, ( PyObject * ) self, name );
}
@@ -1729,7 +1729,7 @@
else if( !strcmp( name, "verts" ) || !strcmp( name, "faces" ) ||
!strcmp( name, "materials" ) ) {
- if( PySequence_Check( v ) ) {
+ if( PyList_Check( v ) ) {
if( strcmp( name, "materials" ) == 0 ) {
Py_DECREF( me->materials );
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b6/cf/a3c054824164041f725bc8e53ee4
Event Timeline
Log In to Comment