forked from bartvdbraak/blender
- bug fix: brecht's fixing of warning caused one bug, ... one "break;"
was missing in code ... blender crashed, when it was connected to verse server with bitmap node
This commit is contained in:
parent
65677de02c
commit
b17ce5e24a
@ -569,7 +569,7 @@ static void cb_node_create(
|
|||||||
VNodeID owner_id)
|
VNodeID owner_id)
|
||||||
{
|
{
|
||||||
struct VerseSession *session = (VerseSession*)current_verse_session();
|
struct VerseSession *session = (VerseSession*)current_verse_session();
|
||||||
struct VNode *vnode;
|
struct VNode *vnode = NULL;
|
||||||
|
|
||||||
if(!session) return;
|
if(!session) return;
|
||||||
|
|
||||||
@ -700,12 +700,13 @@ static void cb_node_create(
|
|||||||
/* create bitmap data */
|
/* create bitmap data */
|
||||||
vnode->data = (void*)create_bitmap_data();
|
vnode->data = (void*)create_bitmap_data();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
vnode = NULL;
|
vnode = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
vnode->post_node_create(vnode);
|
if(vnode) vnode->post_node_create(vnode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user