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:
authorAntony Riakiotakis <kalast@gmail.com>2015-04-07 17:08:46 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-04-07 17:08:46 +0300
commitf9f3c29a3a5b558e09c36076521bdafc91e7e326 (patch)
treed15f887e76e5c32a70a68d29c6e93dc3811091cd /source/blender/makesrna/intern
parentcc78664d50c6ae82d139552283ede467b0cf28cc (diff)
Fix crash when changing proxy storage type for editing (was own
stupidity casting from Scene to Editing in RNA) Move versioning for proxy storage to multiview version check (not really correct but it was orphaned before and it doesn't hurt either).
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index ee4ec1cb659..052744a9864 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -135,9 +135,9 @@ static void rna_SequenceEditor_sequences_all_begin(CollectionPropertyIterator *i
rna_iterator_listbase_begin(iter, &ed->seqbase, NULL);
}
-static void rna_SequenceEditor_update_cache(Main *UNUSED(bmain), Scene *scene, PointerRNA *ptr)
+static void rna_SequenceEditor_update_cache(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr))
{
- Editing *ed = (Editing *) ptr->id.data;
+ Editing *ed = scene->ed;
BKE_sequencer_free_imbuf(scene, &ed->seqbase, false);
}