Fix wrong name displayed for the debug passes

This commit is contained in:
Sergey Sharybin
2015-06-09 10:53:32 +02:00
parent cb9bd23d0c
commit 6c8f2049f6

View File

@@ -547,6 +547,7 @@ static RenderPass *render_layer_add_debug_pass(RenderResult *rr,
BLI_strncpy(rpass->name,
debug_pass_type_name_get(debug_type),
sizeof(rpass->name));
BLI_strncpy(rpass->internal_name, rpass->name, sizeof(rpass->internal_name));
return rpass;
}
#endif