#461 Layers in 2.0.3

2.0.4
closed-fixed
nobody
None
5
2014-06-12
2014-03-24
Mark Krug
No

In v2.0.3 layers with vector graphics cannot be made to overlie a layer with a raster image. Use of draw order does not fix the problem. Printed output also shows up as solid colour only. No detail can be seen. All of these features worked fine in 2.0.2.

Discussion

  • LordOfBikes
    LordOfBikes
    2014-03-24

    Can you add a test file please.

     
  • Dongxu Li
    Dongxu Li
    2014-03-24

    in 2.0.3, all layers are drawn in the order of layer names, as shown in the layer widget.

    To draw over an image:

    Please keep the underneath image in the layer "0", and move overlay entities to layer named "1", for example.

     
  • Dongxu Li
    Dongxu Li
    2014-03-24

    attached one example to draw over an image.

     
    Attachments
  • Mark Krug
    Mark Krug
    2014-03-26

    OK thank you. It seems then that display order has changed between 2.0.2 and 2.0.3. Previously the base image should be placed in an alphabetically lower named layer (I would just add an x in front of my image layers to force it to the bottom e.g. xImageLayer). Now layers with images should rather be prefixed with a 0 to force them to the top e.g. 0_ImageLayer

     
  • Dongxu Li
    Dongxu Li
    2014-03-26

    previously, the order is by internal entity order, as defined by at line 954 in rs_entitycontainer.cpp:

            return entities.at(entIdx);
    

    it's considered to be a bug, because the order is actually random after some editing.

     
  • Dongxu Li
    Dongxu Li
    2014-05-04

    I reverted the layer order hack( to draw according to order by layer names), 2.0.4 should have the same behavior as 2.0.2

     
  • Dongxu Li
    Dongxu Li
    2014-05-04

    • status: open --> open-fixed
     
  • Dongxu Li
    Dongxu Li
    2014-06-12

    • status: open-fixed --> closed-fixed
    • Group: 2.0 --> 2.0.4