ObjectProfile / Roassal3Exporters

PDF Exporter for Roassal3
MIT License
8 stars 3 forks source link

Debug: Instance of RSConfigurableCamera did not understand #matrix #39

Closed tsl4 closed 11 months ago

tsl4 commented 1 year ago

Running the example code (and any other similar code) results in that debug message. There does not seem to be a #matrix method on RSConfigurableCamera

Screen Shot 2023-05-18 at 08 55 10

tsl4 commented 1 year ago

I did try simply commenting out that line, and it does seem to work. Not really understanding what 'matrix' was or used to be in this contest.

JanBliznicenko commented 1 year ago

This seems like a mismatch between version of Roassal3 and Roassal3Exporters. RSAbstractCamSetter>>#set: from Roassal3Exporters wants to use method matrix of RSCamera from Roassal3. Roassal3Exporters requires the matrix method since April 18, 2023 (I did that change in commit cbe34be). Roassal3 has this matrix method since February 22, 2023. So, you probably have latest master of Roassal3Exporters but older version of Roassal3.

You may try to load v1.0 of Roassal3Exporters (from before its requirement for matrix) or you may try to load latest master of both Roassal3 and Roassal3Exporters (to have the matrix method there).

Note that I am far from developer of Roassal3 or Roassal3Exporters, just sometimes poke at something here when I encounter a problem in my projects :)

akevalion commented 11 months ago

Hi RSConfigurableCamera is subclass of RSCamera and camera has matrix selector.