[Bf-blender-cvs] [191e812f367] master: Fix auto-run warning RNA type
Campbell Barton
noreply at git.blender.org
Fri Jan 11 05:44:49 CET 2019
Commit: 191e812f3674d16c42468b9dcb7d7422e7946ec6
Author: Campbell Barton
Date: Fri Jan 11 15:43:53 2019 +1100
Branches: master
https://developer.blender.org/rB191e812f3674d16c42468b9dcb7d7422e7946ec6
Fix auto-run warning RNA type
===================================================================
M source/blender/windowmanager/intern/wm_files.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index cc3c4ed235d..04a73d9b917 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -2424,7 +2424,7 @@ static uiBlock *block_create_autorun_warning(struct bContext *C, struct ARegion
uiItemS(layout);
PointerRNA pref_ptr;
- RNA_pointer_create(NULL, &RNA_PreferencesSystem, &U, &pref_ptr);
+ RNA_pointer_create(NULL, &RNA_PreferencesFilePaths, &U, &pref_ptr);
uiItemR(layout, &pref_ptr, "use_scripts_auto_execute", 0, IFACE_("Permanently allow execution of scripts"), ICON_NONE);
uiItemS(layout);
More information about the Bf-blender-cvs
mailing list