- own error with sound unpack operator using NULL pointer
- make stub now creates 'Release' build by default.
This commit is contained in:
@@ -60,7 +60,7 @@ all:
|
||||
if test ! -f $(BUILD_DIR)/CMakeCache.txt ; then \
|
||||
mkdir -p $(BUILD_DIR) ; \
|
||||
cd $(BUILD_DIR) ; \
|
||||
cmake $(BLENDER_DIR) ; \
|
||||
cmake $(BLENDER_DIR) -DCMAKE_BUILD_TYPE:STRING=Release ; \
|
||||
fi
|
||||
|
||||
@echo
|
||||
|
@@ -209,7 +209,7 @@ void SOUND_OT_pack(wmOperatorType *ot)
|
||||
static int sound_unpack_exec(bContext *C, wmOperator *op)
|
||||
{
|
||||
int method= RNA_enum_get(op->ptr, "method");
|
||||
bSound* sound;
|
||||
bSound* sound= NULL;
|
||||
|
||||
/* find the suppplied image by name */
|
||||
if (RNA_property_is_set(op->ptr, "id")) {
|
||||
|
Reference in New Issue
Block a user