Commit: 2c400527c50995552810844025213b81bbfb5eb7
Author: Julian Eisel
Date:   Mon Jan 23 17:19:43 2017 +0100
Branches: workspaces
https://developer.blender.org/rB2c400527c50995552810844025213b81bbfb5eb7

Change workspace allocation string

Makes it easier to grep.

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

M       source/blender/blenkernel/intern/workspace.c

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

diff --git a/source/blender/blenkernel/intern/workspace.c 
b/source/blender/blenkernel/intern/workspace.c
index da09e6d368..37d4538cd0 100644
--- a/source/blender/blenkernel/intern/workspace.c
+++ b/source/blender/blenkernel/intern/workspace.c
@@ -54,7 +54,7 @@ bool workspaces_is_screen_used(const Main *bmain, bScreen 
*screen);
  */
 WorkSpace *workspace_alloc(void)
 {
-       return MEM_callocN(sizeof(WorkSpace), "Workspace");
+       return MEM_callocN(sizeof(WorkSpace), __func__);
 }
 
 WorkSpace *BKE_workspace_add(Main *bmain, const char *name)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to