PluginFunctions::isProjectionOrthographic bug?

Hi! It seems PluginFunctions::isProjectionOrthographic checks for the viewer id being >= 0. That obviously doesn't work when passing ACTIVE_VIEWER which is -1. Shouldn't the method check for ACTIVE_VIEWER and use activeExaminer_ as the id in that case? It works when I manually pass PluginFunctions::activeExaminer. Bye!

Hi, thanks for the report. It's definitely a bug. I fixed it and it is now in the svn. Best, Jan On 13.05.2012 03:38, Bengt Rosenberger wrote:
Hi!
It seems PluginFunctions::isProjectionOrthographic checks for the viewer id being >= 0. That obviously doesn't work when passing ACTIVE_VIEWER which is -1. Shouldn't the method check for ACTIVE_VIEWER and use activeExaminer_ as the id in that case? It works when I manually pass PluginFunctions::activeExaminer.
Bye! _______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
-- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de
participants (2)
-
Bengt Rosenberger
-
Jan Möbius