Fix warning in collada operator after a recent commit.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 2 Oct 2010 13:52:46 +0000 (13:52 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 2 Oct 2010 13:52:46 +0000 (13:52 +0000)
source/blender/windowmanager/intern/wm_operators.c

index 91bebb89a9ae19c380cf4044a6ff491539d7690e..a5294f170f3a1d50ee75368e9223c440a27ac083 100644 (file)
@@ -1909,7 +1909,7 @@ static void WM_OT_save_mainfile(wmOperatorType *ot)
 static int wm_collada_export_invoke(bContext *C, wmOperator *op, wmEvent *event)
 {      
        if(!RNA_property_is_set(op->ptr, "filepath")) {
-               char *filepath[FILE_MAX];
+               char filepath[FILE_MAX];
                BLI_strncpy(filepath, G.sce, sizeof(filepath));
                BLI_replace_extension(filepath, sizeof(filepath), ".dae");
                RNA_string_set(op->ptr, "filepath", filepath);