Added get_gui_base to the EditorNode class to allow for import plugins to create centered Popups.
Added get_gui_base to the EditorNode class to allow for import plugins to create centered Popups.

This is the function used by all the built-in import plugins. Without this, the only alternative is to add it to the EditorNode itself which messes up auto-centering and sizing.

jjdicharry/godot,ianholing/godot,godotengine/godot,crr0004/godot,wardw/godot,DmitriySalnikov/godot,Brickcaster/godot,MrMaidx/godot,pkowal1982/godot,DmitriySalnikov/godot,hipgraphics/godot,BogusCurry/godot,lietu/godot,sh95119/godot,MarianoGnu/godot,dreamsxin/godot,TheBoyThePlay/godot,karolgotowala/godot,mamarilmanson/godot,rollenrolm/godot,FateAce/godot,liuyucoder/godot,wardw/godot,BastiaanOlij/godot,iap-mutant/godot,ageazrael/godot,sh95119/godot,supriyantomaftuh/godot,kimsunzun/godot,mikica1986vee/GodotArrayEditorStuff,BoDonkey/godot,TheBoyThePlay/godot,josempans/godot,TheHX/godot,gau-veldt/godot,hitjim/godot,NateWardawg/godot,hitjim/godot,vnen/godot,jjdicharry/godot,crr0004/godot,karolgotowala/godot,Brickcaster/godot,firefly2442/godot,crr0004/godot,ZuBsPaCe/godot,kimsunzun/godot,lietu/godot,Shockblast/godot,gcbeyond/godot,lietu/godot,jackmakesthings/godot,ex/godot,kimsunzun/godot,Brickcaster/godot,jjdicharry/godot,BogusCurry/godot,marynate/godot,kimsunzun/godot,zj8487/godot,HatiEth/godot,azurvii/godot,Hodes/godot,okamstudio/godot,Zylann/godot,Paulloz/godot,zj8487/godot,morrow1nd/godot,mikica1986vee/godot,vnen/godot,Valentactive/godot,FateAce/godot,mikica1986vee/Godot_android_tegra_fallback,zicklag/godot,supriyantomaftuh/godot,ZuBsPaCe/godot,pkowal1982/godot,liuyucoder/godot,Valentactive/godot,n-pigeon/godot,torgartor21/godot,gcbeyond/godot,JoshuaGrams/godot,FateAce/godot,hipgraphics/godot,ageazrael/godot,marynate/godot,lietu/godot,akien-mga/godot,iap-mutant/godot,n-pigeon/godot,morrow1nd/godot,exabon/godot,hipgraphics/godot,ZuBsPaCe/godot,hipgraphics/godot,Brickcaster/godot,ficoos/godot,akien-mga/godot,DStomtom/godot,dreamsxin/godot,quabug/godot,azurvii/godot,torgartor21/godot,mikica1986vee/Godot_android_tegra_fallback,xiaoyanit/godot,shackra/godot,jackmakesthings/godot,mamarilmanson/godot,godotengine/godot,a12n/godot,youprofit/godot,shackra/godot,ricpelo/godot,crr0004/godot,Hodes/godot,DStomtom/godot,RebelliousX/Go_Dot,tomreyn/godot,vkbsb/godot,azurvii/godot,mikica1986vee/Godot_android_tegra_fallback,serafinfernandez/godot,quabug/godot,vastcharade/godot,mamarilmanson/godot,teamblubee/godot,lietu/godot,karolgotowala/godot,buckle2000/godot,mrezai/godot,davidalpha/godot,ageazrael/godot,xiaoyanit/godot,blackwc/godot,lietu/godot,sanikoyes/godot,ricpelo/godot,hitjim/godot,hitjim/godot,serafinfernandez/godot,gcbeyond/godot,a12n/godot,NateWardawg/godot,jackmakesthings/godot,Faless/godot,BogusCurry/godot,mikica1986vee/GodotArrayEditorStuff,jjdicharry/godot,karolgotowala/godot,jackmakesthings/godot,blackwc/godot,sergicollado/godot,xiaoyanit/godot,jejung/godot,vastcharade/godot,teamblubee/godot,mamarilmanson/godot,teamblubee/godot,ricpelo/godot,godotengine/godot,sergicollado/godot,torgartor21/godot,Faless/godot,wardw/godot,quabug/godot,vnen/godot,TheBoyThePlay/godot,iap-mutant/godot,cpascal/godot,mamarilmanson/godot,marynate/godot,serafinfernandez/godot,TheBoyThePlay/godot,morrow1nd/godot,FateAce/godot,cpascal/godot,karolgotowala/godot,mikica1986vee/godot,mcanders/godot,azurvii/godot,RebelliousX/Go_Dot,didier-v/godot,BastiaanOlij/godot,ianholing/godot,dreamsxin/godot,supriyantomaftuh/godot,vastcharade/godot,mrezai/godot,okamstudio/godot,ex/godot,karolgotowala/godot,opmana/godot,zicklag/godot,quabug/godot,davidalpha/godot,mikica1986vee/godot,FullMeta/godot,vnen/godot,okamstudio/godot,torgartor21/godot,jackmakesthings/godot,groud/godot,agusbena/godot,RandomShaper/godot,serafinfernandez/godot,opmana/godot,shackra/godot,kimsunzun/godot,blackwc/godot,pkowal1982/godot,okamstudio/godot,gcbeyond/godot,MarianoGnu/godot,agusbena/godot,ZuBsPaCe/godot,opmana/godot,hipgraphics/godot,FullMeta/godot,cpascal/godot,mcanders/godot,hitjim/godot,zj8487/godot,HatiEth/godot,liuyucoder/godot,Marqin/godot,DmitriySalnikov/godot,Marqin/godot,wardw/godot,Shockblast/godot,BogusCurry/godot,rollenrolm/godot,ianholing/godot,ZuBsPaCe/godot,cpascal/godot,godotengine/godot,vastcharade/godot,mikica1986vee/Godot_android_tegra_fallback,pixelpicosean/my-godot-2.1,Paulloz/godot,RebelliousX/Go_Dot,youprofit/godot,TheBoyThePlay/godot,akien-mga/godot,liuyucoder/godot,serafinfernandez/godot,godotengine/godot,DmitriySalnikov/godot,sanikoyes/godot,iap-mutant/godot,mcanders/godot,jjdicharry/godot,FullMeta/godot,BogusCurry/godot,Zylann/godot,mikica1986vee/GodotArrayEditorStuff,lietu/godot,Faless/godot,honix/godot,Zylann/godot,RandomShaper/godot,ficoos/godot,RandomShaper/godot,cpascal/godot,blackwc/godot,mikica1986vee/GodotArrayEditorStuff,vastcharade/godot,RandomShaper/godot,ianholing/godot,a12n/godot,buckle2000/godot,supriyantomaftuh/godot,davidalpha/godot,jjdicharry/godot,HatiEth/godot,vkbsb/godot,Shockblast/godot,serafinfernandez/godot,DStomtom/godot,BoDonkey/godot,karolgotowala/godot,davidalpha/godot,dreamsxin/godot,OpenSocialGames/godot,crr0004/godot,hipgraphics/godot,gau-veldt/godot,honix/godot,MrMaidx/godot,hipgraphics/godot,exabon/godot,MarianoGnu/godot,Paulloz/godot,mikica1986vee/GodotArrayEditorStuff,FullMeta/godot,gau-veldt/godot,sergicollado/godot,sh95119/godot,tomreyn/godot,vastcharade/godot,ianholing/godot,blackwc/godot,mikica1986vee/Godot_android_tegra_fallback,OpenSocialGames/godot,zj8487/godot,blackwc/godot,azurvii/godot,NateWardawg/godot,TheBoyThePlay/godot,rollenrolm/godot,agusbena/godot,est31/godot,wardw/godot,Valentactive/godot,liuyucoder/godot,ficoos/godot,BastiaanOlij/godot,HatiEth/godot,cpascal/godot,jackmakesthings/godot,youprofit/godot,shackra/godot,honix/godot,torgartor21/godot,cpascal/godot,dreamsxin/godot,dreamsxin/godot,JoshuaGrams/godot,pixelpicosean/my-godot-2.1,marynate/godot,vnen/godot,a12n/godot,dreamsxin/godot,didier-v/godot,MarianoGnu/godot,jejung/godot,BogusCurry/godot,zj8487/godot,pkowal1982/godot,Faless/godot,sergicollado/godot,shackra/godot,sergicollado/godot,didier-v/godot,groud/godot,MarianoGnu/godot,sergicollado/godot,Zylann/godot,firefly2442/godot,JoshuaGrams/godot,MrMaidx/godot,youprofit/godot,crr0004/godot,honix/godot,RandomShaper/godot,Paulloz/godot,BoDonkey/godot,morrow1nd/godot,jjdicharry/godot,mcanders/godot,BoDonkey/godot,mikica1986vee/GodotArrayEditorStuff,BoDonkey/godot,josempans/godot,Shockblast/godot,Paulloz/godot,HatiEth/godot,didier-v/godot,kimsunzun/godot,teamblubee/godot,JoshuaGrams/godot,Marqin/godot,okamstudio/godot,Valentactive/godot,n-pigeon/godot,teamblubee/godot,mikica1986vee/GodotArrayEditorStuff,blackwc/godot,xiaoyanit/godot,youprofit/godot,liuyucoder/godot,vnen/godot,ianholing/godot,mikica1986vee/godot,buckle2000/godot,ex/godot,wardw/godot,hipgraphics/godot,ianholing/godot,est31/godot,rollenrolm/godot,BastiaanOlij/godot,torgartor21/godot,jjdicharry/godot,josempans/godot,hipgraphics/godot,ianholing/godot,wardw/godot,agusbena/godot,youprofit/godot,zicklag/godot,ricpelo/godot,HatiEth/godot,sh95119/godot,akien-mga/godot,vkbsb/godot,n-pigeon/godot,quabug/godot,supriyantomaftuh/godot,wardw/godot,DStomtom/godot,Shockblast/godot,HatiEth/godot,Max-Might/godot,FullMeta/godot,Max-Might/godot,est31/godot,jejung/godot,BoDonkey/godot,supriyantomaftuh/godot,Brickcaster/godot,pkowal1982/godot,vnen/godot,ficoos/godot,mamarilmanson/godot,firefly2442/godot,RebelliousX/Go_Dot,rollenrolm/godot,quabug/godot,serafinfernandez/godot,NateWardawg/godot,OpenSocialGames/godot,NateWardawg/godot,xiaoyanit/godot,vastcharade/godot,vkbsb/godot,marynate/godot,teamblubee/godot,ricpelo/godot,Faless/godot,jejung/godot,RandomShaper/godot,ex/godot,FullMeta/godot,huziyizero/godot,karolgotowala/godot,DmitriySalnikov/godot,ex/godot,josempans/godot,liuyucoder/godot,mamarilmanson/godot,guilhermefelipecgs/godot,didier-v/godot,huziyizero/godot,pixelpicosean/my-godot-2.1,mamarilmanson/godot,a12n/godot,davidalpha/godot,davidalpha/godot,BoDonkey/godot,youprofit/godot,sanikoyes/godot,FateAce/godot,godotengine/godot,TheHX/godot,hipgraphics/godot,NateWardawg/godot,quabug/godot,sergicollado/godot,xiaoyanit/godot,supriyantomaftuh/godot,OpenSocialGames/godot,quabug/godot,vastcharade/godot,OpenSocialGames/godot,honix/godot,gcbeyond/godot,JoshuaGrams/godot,sergicollado/godot,mrezai/godot,Max-Might/godot,huziyizero/godot,ficoos/godot,Marqin/godot,hitjim/godot,gcbeyond/godot,okamstudio/godot,akien-mga/godot,ficoos/godot,OpenSocialGames/godot,kimsunzun/godot,liuyucoder/godot,davidalpha/godot,mikica1986vee/GodotArrayEditorStuff,blackwc/godot,RebelliousX/Go_Dot,josempans/godot,OpenSocialGames/godot,shackra/godot,Valentactive/godot,TheBoyThePlay/godot,FateAce/godot,morrow1nd/godot,pixelpicosean/my-godot-2.1,hitjim/godot,HatiEth/godot,Zylann/godot,tomreyn/godot,marynate/godot,davidalpha/godot,cpascal/godot,cpascal/godot,ex/godot,Paulloz/godot,mikica1986vee/godot,Shockblast/godot,exabon/godot,sh95119/godot,RebelliousX/Go_Dot,MarianoGnu/godot,a12n/godot,Hodes/godot,davidalpha/godot,firefly2442/godot,shackra/godot,gcbeyond/godot,Max-Might/godot,ricpelo/godot,crr0004/godot,supriyantomaftuh/godot,iap-mutant/godot,teamblubee/godot,NateWardawg/godot,marynate/godot,mrezai/godot,NateWardawg/godot,tomreyn/godot,ZuBsPaCe/godot,ricpelo/godot,mcanders/godot,lietu/godot,agusbena/godot,shackra/godot,TheBoyThePlay/godot,guilhermefelipecgs/godot,dreamsxin/godot,FullMeta/godot,teamblubee/godot,iap-mutant/godot,MarianoGnu/godot,mikica1986vee/Godot_android_tegra_fallback,akien-mga/godot,OpenSocialGames/godot,Shockblast/godot,xiaoyanit/godot,TheHX/godot,groud/godot,mikica1986vee/Godot_android_tegra_fallback,jackmakesthings/godot,youprofit/godot,morrow1nd/godot,MarianoGnu/godot,vkbsb/godot,crr0004/godot,n-pigeon/godot,BoDonkey/godot,josempans/godot,crr0004/godot,BoDonkey/godot,opmana/godot,didier-v/godot,ianholing/godot,Marqin/godot,vkbsb/godot,okamstudio/godot,vastcharade/godot,xiaoyanit/godot,groud/godot,honix/godot,ricpelo/godot,n-pigeon/godot,firefly2442/godot,Hodes/godot,iap-mutant/godot,ricpelo/godot,xiaoyanit/godot,zj8487/godot,Valentactive/godot,torgartor21/godot,blackwc/godot,vnen/godot,guilhermefelipecgs/godot,quabug/godot,BastiaanOlij/godot,DmitriySalnikov/godot,BogusCurry/godot,huziyizero/godot,Zylann/godot,OpenSocialGames/godot,akien-mga/godot,sanikoyes/godot,BogusCurry/godot,sh95119/godot,vkbsb/godot,TheHX/godot,hitjim/godot,DmitriySalnikov/godot,zicklag/godot,marynate/godot,youprofit/godot,gau-veldt/godot,supriyantomaftuh/godot,zicklag/godot,dreamsxin/godot,gau-veldt/godot,teamblubee/godot,Paulloz/godot,firefly2442/godot,shackra/godot,jjdicharry/godot,mamarilmanson/godot,vkbsb/godot,mikica1986vee/godot,torgartor21/godot,DStomtom/godot,HatiEth/godot,cpascal/godot,BastiaanOlij/godot,mrezai/godot,mikica1986vee/Godot_android_tegra_fallback,zj8487/godot,jackmakesthings/godot,sh95119/godot,MrMaidx/godot,agusbena/godot,DStomtom/godot,didier-v/godot,sanikoyes/godot,serafinfernandez/godot,gcbeyond/godot,BastiaanOlij/godot,groud/godot,Valentactive/godot,guilhermefelipecgs/godot,ageazrael/godot,gcbeyond/godot,buckle2000/godot,okamstudio/godot,ricpelo/godot,okamstudio/godot,mikica1986vee/godot,JoshuaGrams/godot,pkowal1982/godot,BogusCurry/godot,buckle2000/godot,didier-v/godot,karolgotowala/godot,mikica1986vee/godot,groud/godot,ianholing/godot,teamblubee/godot,mikica1986vee/GodotArrayEditorStuff,serafinfernandez/godot,torgartor21/godot,ageazrael/godot,exabon/godot,ex/godot,xiaoyanit/godot,Hodes/godot,ex/godot,serafinfernandez/godot,didier-v/godot,BastiaanOlij/godot,sanikoyes/godot,guilhermefelipecgs/godot,DStomtom/godot,a12n/godot,sh95119/godot,sanikoyes/godot,ZuBsPaCe/godot,ageazrael/godot,jejung/godot,karolgotowala/godot,est31/godot,crr0004/godot,sergicollado/godot,a12n/godot,Brickcaster/godot,Zylann/godot,mikica1986vee/godot,jackmakesthings/godot,FullMeta/godot,tomreyn/godot,liuyucoder/godot,Valentactive/godot,marynate/godot,lietu/godot,josempans/godot,sergicollado/godot,mamarilmanson/godot,Hodes/godot,azurvii/godot,HatiEth/godot,wardw/godot,a12n/godot,pkowal1982/godot,Shockblast/godot,jejung/godot,buckle2000/godot,quabug/godot,mikica1986vee/Godot_android_tegra_fallback,torgartor21/godot,huziyizero/godot,OpenSocialGames/godot,wardw/godot,TheHX/godot,davidalpha/godot,Marqin/godot,jackmakesthings/godot,iap-mutant/godot,jjdicharry/godot,Faless/godot,mrezai/godot,opmana/godot,Faless/godot,Brickcaster/godot,mrezai/godot,akien-mga/godot,godotengine/godot,josempans/godot,MrMaidx/godot,Zylann/godot,kimsunzun/godot,Max-Might/godot,firefly2442/godot,vastcharade/godot,agusbena/godot,supriyantomaftuh/godot,pixelpicosean/my-godot-2.1,shackra/godot,gcbeyond/godot,kimsunzun/godot,guilhermefelipecgs/godot,TheBoyThePlay/godot,okamstudio/godot,MrMaidx/godot,didier-v/godot,est31/godot,iap-mutant/godot,zicklag/godot,zj8487/godot,guilhermefelipecgs/godot,agusbena/godot,Max-Might/godot,ageazrael/godot,FullMeta/godot,Faless/godot,NateWardawg/godot,DStomtom/godot,hitjim/godot,kimsunzun/godot,exabon/godot,BogusCurry/godot,mikica1986vee/Godot_android_tegra_fallback,liuyucoder/godot,blackwc/godot,RandomShaper/godot,DStomtom/godot,dreamsxin/godot,n-pigeon/godot,TheBoyThePlay/godot,mikica1986vee/GodotArrayEditorStuff,marynate/godot,mikica1986vee/godot,pkowal1982/godot,hitjim/godot,a12n/godot,firefly2442/godot,mcanders/godot,lietu/godot,zj8487/godot,BoDonkey/godot,guilhermefelipecgs/godot,iap-mutant/godot,DStomtom/godot,sanikoyes/godot,youprofit/godot,exabon/godot,sh95119/godot,est31/godot,FullMeta/godot,mrezai/godot,zj8487/godot,ZuBsPaCe/godot,sh95119/godot,godotengine/godot