node uninitialized memory valgrind found while looking into crash.
This commit is contained in:
@@ -99,6 +99,7 @@ TARGET_LINK_LIBRARIES(makesrna bf_dna)
|
||||
# Output rna_*_gen.c
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${GENSRC}
|
||||
# with crashes try add this after COMMEND: valgrind --leak-check=full --track-origins=yes
|
||||
COMMAND ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/makesrna ${CMAKE_CURRENT_BINARY_DIR}/
|
||||
DEPENDS makesrna
|
||||
)
|
||||
|
||||
@@ -577,6 +577,7 @@ static EnumPropertyItem* alloc_node_type_items(int category)
|
||||
|
||||
item->value = NODE_DYNAMIC;
|
||||
item->identifier = "SCRIPT";
|
||||
item->icon = 0;
|
||||
item->name = "Script";
|
||||
item->description = "";
|
||||
|
||||
@@ -584,6 +585,7 @@ static EnumPropertyItem* alloc_node_type_items(int category)
|
||||
|
||||
item->value = NODE_GROUP;
|
||||
item->identifier = "GROUP";
|
||||
item->icon = 0;
|
||||
item->name = "Group";
|
||||
item->description = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user