diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-01-24 03:32:09 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-01-24 03:32:09 +0400 |
commit | 12baf364f528f11db8f9c9d139ef97f657145c8f (patch) | |
tree | 495069a654e2d6a077ed28a9ab83d255eb9fd8fc /source/blender/freestyle/intern/blender_interface | |
parent | 68ae82bb479a79de72cf174763f3244f64e28bb0 (diff) |
Fix for invalid pointers within a copied line set.
Now the line set buffer is cleared when a new .blend file is opened, so
that a line set may not be copied and pasted between two .blend files.
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp index fe02406801a..2b054307365 100644 --- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp +++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp @@ -82,6 +82,10 @@ extern "C" { controller->setContext(C); } + void FRS_read_file(bContext* C) { + lineset_copied = false; + } + void FRS_exit() { delete pathconfig; delete controller; |