Revision: 34676
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34676
Author:   campbellbarton
Date:     2011-02-07 01:13:21 +0000 (Mon, 07 Feb 2011)
Log Message:
-----------
- own error with sound unpack operator using NULL pointer
- make stub now creates 'Release' build by default.

Modified Paths:
--------------
    trunk/blender/GNUmakefile
    trunk/blender/source/blender/editors/sound/sound_ops.c

Modified: trunk/blender/GNUmakefile
===================================================================
--- trunk/blender/GNUmakefile   2011-02-06 22:20:26 UTC (rev 34675)
+++ trunk/blender/GNUmakefile   2011-02-07 01:13:21 UTC (rev 34676)
@@ -60,7 +60,7 @@
        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 

Modified: trunk/blender/source/blender/editors/sound/sound_ops.c
===================================================================
--- trunk/blender/source/blender/editors/sound/sound_ops.c      2011-02-06 
22:20:26 UTC (rev 34675)
+++ trunk/blender/source/blender/editors/sound/sound_ops.c      2011-02-07 
01:13:21 UTC (rev 34676)
@@ -209,7 +209,7 @@
 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")) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to