diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2018-09-23 19:08:55 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2018-09-23 19:08:55 +0000 |
| commit | d1c232470fb49f9f88a5c8e831ff02380ec24d8e (patch) | |
| tree | d4094ed00b5aea9d4e35bb8ccba24789fd3c7613 /src/object/box3d.cpp | |
| parent | fix .odg and .fx export with inverted y-axis (diff) | |
| download | inkscape-d1c232470fb49f9f88a5c8e831ff02380ec24d8e.tar.gz inkscape-d1c232470fb49f9f88a5c8e831ff02380ec24d8e.zip | |
!SP_ACTIVE_DESKTOP -> is_yaxisdown true
Fixes 3D box --export-png
Diffstat (limited to 'src/object/box3d.cpp')
| -rw-r--r-- | src/object/box3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/box3d.cpp b/src/object/box3d.cpp index febfef115..7d4074b64 100644 --- a/src/object/box3d.cpp +++ b/src/object/box3d.cpp @@ -652,7 +652,7 @@ box3d_XY_axes_are_swapped (SPBox3D *box) { static inline void box3d_aux_set_z_orders (int z_orders[6], int a, int b, int c, int d, int e, int f) { - if (SP_ACTIVE_DESKTOP && SP_ACTIVE_DESKTOP->is_yaxisdown()) { + if (!SP_ACTIVE_DESKTOP || SP_ACTIVE_DESKTOP->is_yaxisdown()) { std::swap(a, f); std::swap(b, e); std::swap(c, d); |
