Sculpt+Paint/2.5:

* Moved brush NKEY panel from C to Python. Could use some UI review :)
* Added a NULL check in bpy_internal_import.c, was crashing here on Python errors
* Added RNA for vpaint brush and for weight paint
* Added context for vpaint/wpaint similar to edit_object and sculpt_object
This commit is contained in:
2009-07-19 17:44:44 +00:00
parent 8ac67fcd21
commit d410135408
6 changed files with 77 additions and 86 deletions

View File

@@ -65,6 +65,8 @@ PyObject *bpy_text_import( char *name, int *found )
Main *maggie= bpy_import_main;
*found= 0;
if(!maggie) return NULL;
if (namelen>21-3) return NULL; /* we know this cant be importable, the name is too long for blender! */