mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
filter: Accept floating-point values for FilterManager mul= parameter
Fixes #1231 Closes #1232
This commit is contained in:
parent
99c133a7f5
commit
b736b3e4db
@ -122,8 +122,8 @@ class FilterManager(DirectObject):
|
|||||||
winy = winy // div
|
winy = winy // div
|
||||||
|
|
||||||
if mul != 1:
|
if mul != 1:
|
||||||
winx = winx * mul
|
winx = int(round(winx * mul))
|
||||||
winy = winy * mul
|
winy = int(round(winy * mul))
|
||||||
|
|
||||||
return winx,winy
|
return winx,winy
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ Miscellaneous
|
|||||||
* Fix nodes with same tag key but different value getting flattened together
|
* Fix nodes with same tag key but different value getting flattened together
|
||||||
* taskMgr.step() now restores previous SIGINT handler afterwards (#1180)
|
* taskMgr.step() now restores previous SIGINT handler afterwards (#1180)
|
||||||
* Add base.clock as alias for globalClock
|
* Add base.clock as alias for globalClock
|
||||||
|
* FilterManager mul parameter now accepts floating-point values (#1231)
|
||||||
* Assorted minor API documentation improvements
|
* Assorted minor API documentation improvements
|
||||||
* Fix memory leak getting Bullet persistent manifolds from Python (#1193)
|
* Fix memory leak getting Bullet persistent manifolds from Python (#1193)
|
||||||
* Add missing property interface to PlaneNode
|
* Add missing property interface to PlaneNode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user