diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-11-30 00:24:55 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-11-30 00:24:55 +0300 |
commit | 2f52fa782077e8b18d86062ad9dea6a19114d8bc (patch) | |
tree | 220d1c73a2f5ce49dfaf073e2fa83c3730898461 /source/blender/freestyle/FRS_freestyle.h | |
parent | 7f2829d30e9e39820afb3c756e78b9d72bb5c992 (diff) |
Fix for properly unlinking target object pointers when objects are deleted
from scenes.
Diffstat (limited to 'source/blender/freestyle/FRS_freestyle.h')
-rw-r--r-- | source/blender/freestyle/FRS_freestyle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/freestyle/FRS_freestyle.h b/source/blender/freestyle/FRS_freestyle.h index 8252e932215..ae8adb86c1c 100644 --- a/source/blender/freestyle/FRS_freestyle.h +++ b/source/blender/freestyle/FRS_freestyle.h @@ -39,6 +39,7 @@ extern "C" { #include "DNA_scene_types.h" #include "BKE_context.h" + #include "BKE_object.h" extern Scene *freestyle_scene; extern float freestyle_viewpoint[3]; @@ -71,6 +72,8 @@ extern "C" { short FRS_get_active_lineset_index(FreestyleConfig *config); void FRS_set_active_lineset_index(FreestyleConfig *config, short index); + void FRS_unlink_target_object(FreestyleConfig *config, struct Object *ob); + #ifdef __cplusplus } #endif |