Fix crash when using the Tileset Editor when the given shape has no points
Fix crash when using the Tileset Editor when the given shape has no points

MarianoGnu/godot,Valentactive/godot,vkbsb/godot,honix/godot,BastiaanOlij/godot,DmitriySalnikov/godot,vnen/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,honix/godot,MarianoGnu/godot,BastiaanOlij/godot,ZuBsPaCe/godot,Zylann/godot,guilhermefelipecgs/godot,godotengine/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,Shockblast/godot,firefly2442/godot,Shockblast/godot,MarianoGnu/godot,Faless/godot,akien-mga/godot,godotengine/godot,vkbsb/godot,Zylann/godot,Shockblast/godot,MarianoGnu/godot,DmitriySalnikov/godot,sanikoyes/godot,BastiaanOlij/godot,sanikoyes/godot,akien-mga/godot,vnen/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,okamstudio/godot,pkowal1982/godot,godotengine/godot,josempans/godot,Valentactive/godot,ex/godot,groud/godot,Faless/godot,Zylann/godot,Faless/godot,BastiaanOlij/godot,groud/godot,Zylann/godot,akien-mga/godot,vkbsb/godot,josempans/godot,guilhermefelipecgs/godot,MarianoGnu/godot,vnen/godot,godotengine/godot,vnen/godot,Paulloz/godot,okamstudio/godot,sanikoyes/godot,sanikoyes/godot,pkowal1982/godot,honix/godot,godotengine/godot,ex/godot,josempans/godot,MarianoGnu/godot,guilhermefelipecgs/godot,vnen/godot,vkbsb/godot,okamstudio/godot,Paulloz/godot,ZuBsPaCe/godot,BastiaanOlij/godot,Shockblast/godot,pkowal1982/godot,groud/godot,akien-mga/godot,firefly2442/godot,BastiaanOlij/godot,groud/godot,Zylann/godot,firefly2442/godot,okamstudio/godot,godotengine/godot,vkbsb/godot,josempans/godot,godotengine/godot,sanikoyes/godot,Valentactive/godot,josempans/godot,BastiaanOlij/godot,ex/godot,Faless/godot,Valentactive/godot,josempans/godot,pkowal1982/godot,firefly2442/godot,ZuBsPaCe/godot,Valentactive/godot,sanikoyes/godot,vnen/godot,sanikoyes/godot,DmitriySalnikov/godot,ex/godot,akien-mga/godot,okamstudio/godot,ZuBsPaCe/godot,vkbsb/godot,pkowal1982/godot,okamstudio/godot,okamstudio/godot,Shockblast/godot,ex/godot,pkowal1982/godot,honix/godot,Shockblast/godot,MarianoGnu/godot,Valentactive/godot,guilhermefelipecgs/godot,honix/godot,pkowal1982/godot,ex/godot,DmitriySalnikov/godot,Faless/godot,vkbsb/godot,godotengine/godot,Zylann/godot,groud/godot,vnen/godot,groud/godot,Zylann/godot,BastiaanOlij/godot,josempans/godot,ZuBsPaCe/godot,Valentactive/godot,Paulloz/godot,josempans/godot,firefly2442/godot,ex/godot,Paulloz/godot,Faless/godot,sanikoyes/godot,Shockblast/godot,akien-mga/godot,Faless/godot,honix/godot,DmitriySalnikov/godot,pkowal1982/godot,vnen/godot,Faless/godot,okamstudio/godot,okamstudio/godot,DmitriySalnikov/godot,MarianoGnu/godot,vkbsb/godot,akien-mga/godot,Shockblast/godot,Paulloz/godot,DmitriySalnikov/godot,okamstudio/godot,Paulloz/godot,Zylann/godot,akien-mga/godot,firefly2442/godot,Paulloz/godot,Valentactive/godot,firefly2442/godot,firefly2442/godot,ex/godot