Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-02-25 11:49:38 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-25 11:50:01 +0400
commitbf547a19837f112c4846c236427cd36bedf9ed6a (patch)
tree9bf692c181a587f448be3982674494811c8e60c1 /source/blender
parent44e53c82d2e13146667dcb282e8285a6737d2801 (diff)
Fix T38806: Proxy file changes don't update until Blender's restart
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 2506f57da43..97f7ee3bbbb 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -76,6 +76,8 @@ EnumPropertyItem sequence_modifier_type_items[] = {
#include "WM_api.h"
#include "WM_types.h"
+#include "IMB_imbuf.h"
+
typedef struct SequenceSearchData {
Sequence *seq;
void *data;
@@ -601,6 +603,10 @@ static void rna_Sequence_proxy_filepath_set(PointerRNA *ptr, const char *value)
{
StripProxy *proxy = (StripProxy *)(ptr->data);
BLI_split_dirfile(value, proxy->dir, proxy->file, sizeof(proxy->dir), sizeof(proxy->file));
+ if (proxy->anim) {
+ IMB_free_anim(proxy->anim);
+ proxy->anim = NULL;
+ }
}
static void rna_Sequence_proxy_filepath_get(PointerRNA *ptr, char *value)