Commit Graph

17 Commits

Author SHA1 Message Date
3159f588ad Implemented support for input image format RGB8. 2019-10-26 18:19:28 +02:00
1e0da8f335 Added an ERR_FAIL_COND into TexturePacker::add_texture. Aléso fixed an issue from the previous few commits with variables in scope in TextureMerger. 2019-10-23 17:10:57 +02:00
cb177e1d3f Added a texture_removed signal, and _texture_removed vmethod. The unref_texture, and unref_texture_index functions now return wether the texture actually got removed.
Also fixed missing PropertyInfo from the texture_added signal.
2019-10-23 16:30:41 +02:00
8f19801eaa Added a variant vector binding to TextureMerger. It will merge all textures on set. Added contains_texture to TexturePacker. Logic fixes in querying textures in TexturePacker. 2019-10-22 00:52:59 +02:00
d94977de50 The merger now won't have the REPEAT texture flag by default. 2019-10-22 00:18:27 +02:00
280dabf737 Implemented margins. 2019-10-22 00:03:04 +02:00
1d8256548c Added a background_color property. 2019-10-21 23:42:53 +02:00
6a6b844823 Avoid cast. 2019-10-21 23:26:30 +02:00
4de8140563 Fix small mistake. 2019-10-21 23:25:51 +02:00
87a80781a0 The bins vector is not a class member anymore, it's really unsafe to store it like that without proper updates. Also unnecessary. 2019-10-21 23:22:12 +02:00
37043e7b2d Implemented reference counting. 2019-10-21 23:18:06 +02:00
fe6c61d22d Added clear(). 2019-10-21 23:04:11 +02:00
63d9273326 Implemented proper support for adding AtlasTextures. Also implemented support for the keep_original_atlases property. 2019-10-21 22:38:51 +02:00
ec68fea42f Added 3 tweakable properties. (keep_original_atlases is not yet implemented). 2019-10-21 21:29:42 +02:00
b26b97d728 Removed the test method. 2019-10-21 21:15:30 +02:00
54ab3d3bc7 Fix typo. 2019-10-21 21:13:03 +02:00
a0fe53dc24 Renamed MergeTexture to TexturePacker. 2019-10-21 21:11:11 +02:00