DisplayInformation missing on Windows in 1.9.0
Bug #1475884 reported by
Yaio
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
rdb |
Bug Description
This program:
import direct.
di = base.pipe.
num_dm = di.getTotalDisp
print num_dm
print [(di.getDisplay
run()
correctly prints:
188
[(640, 480), (640, 480), ... , (1440, 900)]
with Panda3D 1.8.1, but it prints:
0
[]
on the same computer with Panda3D 1.9.0 and the current devel from buildbot.
It happens on a computer with Windows 7 64 bit; GeForce GTX 980; driver version 353.30.
Changed in panda3d: | |
assignee: | nobody → rdb (rdb) |
milestone: | none → 1.9.1 |
status: | Won't Fix → In Progress |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It's because the Config.prc variable "request- dxdisplay- information" is now set to false by default, because this querying mechanism made the start-up time very slow and consumed a lot of GPU resources. You can enable it if you want this information.