Fix wrong name displayed for the debug passes
This commit is contained in:
parent
cb9bd23d0c
commit
6c8f2049f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue