naming changes
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
This commit is contained in:
@@ -729,7 +729,7 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr private)
|
||||
CTX_wm_window_set(C, win);
|
||||
|
||||
WM_operator_properties_create(&props_ptr, "WM_OT_open_mainfile");
|
||||
RNA_string_set(&props_ptr, "path", path);
|
||||
RNA_string_set(&props_ptr, "filepath", path);
|
||||
WM_operator_name_call(C, "WM_OT_open_mainfile", WM_OP_EXEC_DEFAULT, &props_ptr);
|
||||
WM_operator_properties_free(&props_ptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user