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:
@@ -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! */
|
||||
|
||||
|
Reference in New Issue
Block a user