Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422
This commit is contained in:
parent
17e4ead62a
commit
7c1ab42571
8 changed files with 30 additions and 6 deletions
|
|
@ -2981,10 +2981,8 @@ void PropertyEditor::update_tree() {
|
|||
else
|
||||
item->set_cell_mode( 1, TreeItem::CELL_MODE_RANGE_EXPRESSION );
|
||||
|
||||
if (p.hint==PROPERTY_HINT_SPRITE_FRAME) {
|
||||
item->set_range_config(1,0,99999,1);
|
||||
|
||||
} else if (p.hint==PROPERTY_HINT_RANGE || p.hint==PROPERTY_HINT_EXP_RANGE) {
|
||||
if (p.hint==PROPERTY_HINT_SPRITE_FRAME || p.hint==PROPERTY_HINT_RANGE || p.hint==PROPERTY_HINT_EXP_RANGE) {
|
||||
|
||||
int c = p.hint_string.get_slice_count(",");
|
||||
float min=0,max=100,step=1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue