Blender Git Loki
Git Commits -> Revision 8a72c3b
Revision 8a72c3b by Lukas Toenne (master) January 3, 2018, 13:15 (GMT) |
Static assert for correct strings from context mode enum. Adding new context modes requires adding a string in CTX_data_mode_string, but there is no error when omitting this other than panels using incorrect contexts. The static assert should help detect simple missing strings at least to avoid confusing errors. |
Commit Details:
Full Hash: 8a72c3baefbae22949dee16c004f253197e93914
Parent Commit: f20bb6c
Lines Changed: +3, -1