Batch of Bugfixes
-=-=-=-=-=-=-=-=- -Fixed Export UV XForm (should work now). #923 -Fixed enforcement of limits in property editor. #919 -Fixed long-standing bug of export editings in script inheritance. #914, #859, #756 -Fixed horrible error reporting in shader language. #912 -Added kinematic collision with plane (please test well). #911 -Fixed double animation track insert when using 2D rigs. #904 -VKey updates offset parameter in sprite edition. #901 -Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down) -Avoid connection editor from overriding selected text. #897 -Fixed timer autostart. #876 -Fixed collision layers in 3D physics. #872 -Improved operators in shader #857 -Fixed ambient lighting bug #834 -Avoid editor from processing gamepad input #813 -Added not keyword #752 Please test!
This commit is contained in:
@ -1693,6 +1693,13 @@ void Tree::text_editor_enter(String p_text) {
|
||||
case TreeItem::CELL_MODE_RANGE: {
|
||||
|
||||
c.val=p_text.to_double();
|
||||
if (c.step>0)
|
||||
c.val=Math::stepify(c.val,c.step);
|
||||
if (c.val<c.min)
|
||||
c.val=c.min;
|
||||
else if (c.val>c.max)
|
||||
c.val=c.max;
|
||||
|
||||
//popup_edited_item->edited_signal.call( popup_edited_item_col );
|
||||
} break;
|
||||
default: { ERR_FAIL(); }
|
||||
|
||||
Reference in New Issue
Block a user