Skeleton for 2D WIP

This commit is contained in:
Juan Linietsky 2018-05-03 17:29:15 -03:00
parent e9c1957a3e
commit b3e4bc562c
19 changed files with 370 additions and 37 deletions

View file

@ -45,7 +45,8 @@ class Polygon2DEditor : public AbstractPolygon2DEditor {
MODE_EDIT_UV = MODE_CONT,
UVEDIT_POLYGON_TO_UV,
UVEDIT_UV_TO_POLYGON,
UVEDIT_UV_CLEAR
UVEDIT_UV_CLEAR,
UVEDIT_GRID_SETTINGS
};
@ -91,6 +92,7 @@ class Polygon2DEditor : public AbstractPolygon2DEditor {
int bone_painting_bone;
PoolVector<float> prev_weights;
Vector2 bone_paint_pos;
AcceptDialog *grid_settings;
void _sync_bones();
void _update_bone_list();