[Bf-blender-cvs] [b23c6c4] master: Fix assert in Outliner.

Bastien Montagne noreply at git.blender.org
Tue Jul 21 10:43:49 CEST 2015


Commit: b23c6c430f9c405bab22fc8cd19b7c7916a29f71
Author: Bastien Montagne
Date:   Tue Jul 21 10:42:42 2015 +0200
Branches: master
https://developer.blender.org/rBb23c6c430f9c405bab22fc8cd19b7c7916a29f71

Fix assert in Outliner.

===================================================================

M	source/blender/editors/space_outliner/outliner_intern.h

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h
index 24842d2..54c0e4b 100644
--- a/source/blender/editors/space_outliner/outliner_intern.h
+++ b/source/blender/editors/space_outliner/outliner_intern.h
@@ -60,7 +60,7 @@ typedef struct TreeElement {
 #define TREESTORE_ID_TYPE(_id) \
 	(ELEM(GS((_id)->name), ID_SCE, ID_LI, ID_OB, ID_ME, ID_CU, ID_MB, ID_MA, ID_TE, ID_IM, ID_LT, ID_LA, ID_CA) || \
 	 ELEM(GS((_id)->name), ID_KE, ID_WO, ID_SPK, ID_GR, ID_AR, ID_AC, ID_BR, ID_PA, ID_GD, ID_LS) || \
-	 ELEM(GS((_id)->name), ID_SCR, ID_WM))  /* Only in 'blendfile' mode ... :/ */
+	 ELEM(GS((_id)->name), ID_SCR, ID_WM, ID_TXT))  /* Only in 'blendfile' mode ... :/ */
 
 /* TreeElement->flag */
 #define TE_ACTIVE       1




More information about the Bf-blender-cvs mailing list