doublesided switch in blender 2.9x did not work before, it was always
rendered single sided in MG.
I added a new switch only-selectable which allows to create unvisible
but selectable meshes. This helps with selection of small units which
can now have an unvisible hand craftet select object around them for
example..
Meshes were missing a "double sided" property. So they importing/
exporting "double sided" meshes failed.
Converting meshes from quads to triangles was failing, when a mesh was
selected, because not all of the vertices were selected in "edit" mode.
Script now selects all verts are selected when switched to edit mode.
Function similar to MuwuMs tool https://forum.megaglest.org/index.php?topic=8353.0
Image is resized to the dimensions of the map. Changes in the ratio only work with some image formats (png,jpg) wxWidget bug?
maxHP cannot been boosted anymore( just upgrades!). this has too many
side effects.
maxHP upgrades were calculated based on units current HP which doesn't
make sense.
maxEP cannot been boosted anymore( just upgrades!). this has too many
side effects.
Code is much cleaner and smaller now
* Blender 2.90 import mostly working
* g3d b290 script: Finish support for importing g3d
* G3D B290: exporter now works
Blender exporter now working. There's still a lot to fix in the script but the basic setup works.
* G3D B290: script now exports animations
Adding support for Raspbian (I installed all the dependencies for compiling Megaglest on Raspberry Pi 4 by simply substituting Debian with Raspbian in this script, as they are, essentially, the same system; it worked without any additional tweaks).
saving and using custum menus layouts ( used for mods ) is disabled now
by default becasue it made trouble with new layout. There are two new
switches for user.ini to control it:
CustomPropertiesUsageAllowed ( default = false )
CustomPropertiesSaveAllowed ( default=false )
in big games accidently pressing this games made users drop out of the
game and its a developer option anyway. From now it only works If debug
is enabled.