Fix Static & Rigid body generation on mesh import.
Fix Static & Rigid body generation on mesh import.

The function `_gen_shape_list` is using the resource `Res<Mesh>`, but during the import phase the resource used is instead `Ref<EditorSceneImporterMesh>`.

Note: the `Ref<EditorSceneImporterMesh>` is an intermediate resource, that will be used to create a `Res<Mesh>` at the end of the import process. `Ref<EditorSceneImporterMesh>` and `Ref<Mesh>` are not inheriting each other, so the internal cast done by `Ref<>` during the assignment, is always null:

```c++
Ref<EditorSceneImporterMesh> import_mesh(/* Assume it's initialized */);
CRASH_NOW(import_mesh.is_null());

Ref<Mesh> mesh = import_mesh;
CRASH_NOW(mesh.is_null()); // <--- Here we have a crash, since it's impossible perform the above cast, and the `mesh` is always null.
```

Here the full list of call to `_gen_shape_list`, where we can notice that a `Ref<EditorSceneImporterMesh>` is passed:
- https://github.com/AndreaCatania/godot/blob/master/editor/import/resource_importer_scene.cpp#L428
- https://github.com/AndreaCatania/godot/blob/master/editor/import/resource_importer_scene.cpp#L454-L458
- https://github.com/AndreaCatania/godot/blob/master/editor/import/resource_importer_scene.cpp#L512-L516

As you can notice, we always pass the following mesh: `Ref<EditorSceneImporterMesh> mesh = mi->get_mesh();`.

We already have the function `_pre_gen_shape_list` that executes the exact same job but using the correct type; Since there is no further usage of the function `_gen_shape_list` in the code base, I think it's just some leftover code, so I removed it entirely to use the proper function.
ZuBsPaCe/godot,sanikoyes/godot,josempans/godot,vkbsb/godot,vkbsb/godot,ZuBsPaCe/godot,vnen/godot,firefly2442/godot,Faless/godot,akien-mga/godot,pkowal1982/godot,ZuBsPaCe/godot,Faless/godot,Shockblast/godot,firefly2442/godot,sanikoyes/godot,honix/godot,ZuBsPaCe/godot,Valentactive/godot,josempans/godot,Shockblast/godot,josempans/godot,sanikoyes/godot,Faless/godot,godotengine/godot,godotengine/godot,BastiaanOlij/godot,Zylann/godot,pkowal1982/godot,firefly2442/godot,ZuBsPaCe/godot,firefly2442/godot,godotengine/godot,firefly2442/godot,godotengine/godot,vnen/godot,pkowal1982/godot,godotengine/godot,pkowal1982/godot,Zylann/godot,godotengine/godot,guilhermefelipecgs/godot,Valentactive/godot,akien-mga/godot,vnen/godot,BastiaanOlij/godot,Zylann/godot,Zylann/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,honix/godot,Valentactive/godot,josempans/godot,vkbsb/godot,pkowal1982/godot,honix/godot,Faless/godot,sanikoyes/godot,vkbsb/godot,Zylann/godot,ZuBsPaCe/godot,vkbsb/godot,Shockblast/godot,vnen/godot,BastiaanOlij/godot,firefly2442/godot,Faless/godot,vkbsb/godot,akien-mga/godot,Faless/godot,guilhermefelipecgs/godot,vnen/godot,guilhermefelipecgs/godot,Valentactive/godot,guilhermefelipecgs/godot,Valentactive/godot,akien-mga/godot,sanikoyes/godot,josempans/godot,firefly2442/godot,guilhermefelipecgs/godot,pkowal1982/godot,firefly2442/godot,josempans/godot,Valentactive/godot,honix/godot,Valentactive/godot,vnen/godot,Shockblast/godot,DmitriySalnikov/godot,DmitriySalnikov/godot,Shockblast/godot,ZuBsPaCe/godot,Shockblast/godot,akien-mga/godot,pkowal1982/godot,guilhermefelipecgs/godot,Zylann/godot,sanikoyes/godot,BastiaanOlij/godot,Shockblast/godot,honix/godot,BastiaanOlij/godot,DmitriySalnikov/godot,pkowal1982/godot,vkbsb/godot,Shockblast/godot,akien-mga/godot,Valentactive/godot,akien-mga/godot,BastiaanOlij/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,vnen/godot,ZuBsPaCe/godot,akien-mga/godot,godotengine/godot,vnen/godot,sanikoyes/godot,josempans/godot,Faless/godot,honix/godot,Faless/godot,sanikoyes/godot,DmitriySalnikov/godot,Zylann/godot,Zylann/godot,godotengine/godot,BastiaanOlij/godot,DmitriySalnikov/godot,josempans/godot,vkbsb/godot,DmitriySalnikov/godot