[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30201] trunk/blender/source/blender/ editors/sound/sound_ops.c: fixed missing 'filepath' parameter in SOUND_OT_open.

Andrea Weikert elubie at gmx.net
Sun Jul 11 11:50:23 CEST 2010


Revision: 30201
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30201
Author:   elubie
Date:     2010-07-11 11:50:23 +0200 (Sun, 11 Jul 2010)

Log Message:
-----------
fixed missing 'filepath' parameter in SOUND_OT_open.
Patch provided by Mitchel Stokes (moguri)
filepath was changed from not being added by default (why?), so now has to be added with flag in each operator.
I hope not many others were missed ;)

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

Modified: trunk/blender/source/blender/editors/sound/sound_ops.c
===================================================================
--- trunk/blender/source/blender/editors/sound/sound_ops.c	2010-07-11 09:31:19 UTC (rev 30200)
+++ trunk/blender/source/blender/editors/sound/sound_ops.c	2010-07-11 09:50:23 UTC (rev 30201)
@@ -150,7 +150,7 @@
 	ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
 
 	/* properties */
-	WM_operator_properties_filesel(ot, FOLDERFILE|SOUNDFILE|MOVIEFILE, FILE_SPECIAL, FILE_OPENFILE, WM_FILESEL_RELPATH);
+	WM_operator_properties_filesel(ot, FOLDERFILE|SOUNDFILE|MOVIEFILE, FILE_SPECIAL, FILE_OPENFILE, WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH);
 	RNA_def_boolean(ot->srna, "cache", FALSE, "Cache", "Cache the sound in memory.");
 }
 





More information about the Bf-blender-cvs mailing list