![]() |
【转帖】why Did Odgsviewselect Change In 1.14.01
why did odgsview::select change in 1.14.01 ?
why did odgsview::select change in 1.14.01 ? function odgsview::select change in 1.14.01, x-coordinates are reversed. that wasn't very easy to find why our code didn't work with 1.14. why did you do that ? odgsview::select behaviour was changed a bit for rectangular selection countours. if x2 > x1, inside-only select is performed. only drawables, that are completely inside selection countour, are selected. if x1 > x2, regular select is performed. drawables, that are even partially inside selection countour, are selected. btw, inside-only select contains a problem in 1.14.01 (in 1.14.02 it won't contain any problems), so if you're using 1.14.01, i recommend you to add lines like these to your code (these lines exists in editorobject.cpp, but they're commented out) code: // currently (v 1.13.0) inside-only-select is not fully supported // so make rect to specify crossing-select... if(rect.left < rect.right) std::swap(rect.left, rect.right); sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 10:46 PM. |