Blender Git Loki
Git Commits -> Revision 4a66507
March 14, 2017, 15:50 (GMT) |
Only ensure unique layout name within workspace For users it doesn't make sense to have screen-layout names unique in the entire .blend, since they are just a sub-set of workspaces for them. Uses RNA_def_struct_name_property to override the RNA name of bScreen and makes sure template_ID gets the name from RNA, not from ID directly. |
Commit Details:
Full Hash: 4a6650797263a6af2624556dc2f0b4f347c2025c
Parent Commit: f97fc5f
Lines Changed: +109, -30
10 Modified Paths:
/source/blender/blenkernel/BKE_workspace.h (+3, -2) (Diff)
/source/blender/blenkernel/intern/workspace.c (+22, -1) (Diff)
/source/blender/blenlib/BLI_string.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+17, -6) (Diff)
/source/blender/editors/interface/interface_utils.c (+2, -14) (Diff)
/source/blender/editors/workspace/screen_ops.c (+3, -3) (Diff)
/source/blender/editors/workspace/workspace_layout_edit.c (+1, -1) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+57, -0) (Diff)
/source/blender/blenkernel/intern/workspace.c (+22, -1) (Diff)
/source/blender/blenlib/BLI_string.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+17, -6) (Diff)
/source/blender/editors/interface/interface_utils.c (+2, -14) (Diff)
/source/blender/editors/workspace/screen_ops.c (+3, -3) (Diff)
/source/blender/editors/workspace/workspace_layout_edit.c (+1, -1) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+57, -0) (Diff)