[Bf-blender-cvs] [f738f66] master: Fix (unreported) wrong ID type check in Text editor's ID remap callback.
Bastien Montagne
noreply at git.blender.org
Mon Jun 27 17:42:55 CEST 2016
Commit: f738f66f1be736aec31f3640d35168a2e24f39f8
Author: Bastien Montagne
Date: Mon Jun 27 17:40:08 2016 +0200
Branches: master
https://developer.blender.org/rBf738f66f1be736aec31f3640d35168a2e24f39f8
Fix (unreported) wrong ID type check in Text editor's ID remap callback.
===================================================================
M source/blender/editors/space_text/space_text.c
===================================================================
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c
index 0dea59f..686a10f 100644
--- a/source/blender/editors/space_text/space_text.c
+++ b/source/blender/editors/space_text/space_text.c
@@ -567,7 +567,7 @@ static void text_id_remap(ScrArea *UNUSED(sa), SpaceLink *slink, ID *old_id, ID
{
SpaceText *stext = (SpaceText *)slink;
- if (!ELEM(GS(old_id->name), ID_GD)) {
+ if (!ELEM(GS(old_id->name), ID_TXT)) {
return;
}
More information about the Bf-blender-cvs
mailing list