Blender Git Loki

Git Commits -> Revision 3431f18

April 13, 2021, 09:29 (GMT)
Fix unreported: Flat Surface objects

Before rBf674976edd88, the flag indicating whether a curve was 2D or 3D was
ignored by Surfaces objects.

So it can be said that Surfaces objects were always 3D.

We could remove updates to 2D on Surface objects, so the behavior is
identical to what it was before.

But this would also cause the return of `data.dimensions` to be misleading,
complicate the code a bit and add a micro overhead.

So the solution here is just to init all Surface objects as 3D.

Surface objects can now be constrained to 2D with the command:
```
data.dimensions = '2D'
```

Commit Details:

Full Hash: 3431f1844ff51d83a1b38c7fa0290f3db5de3576
Parent Commit: 9a930e9
Committed By: Falk David
Lines Changed: +1, -0

1 Modified Path:

/source/blender/blenkernel/intern/curve.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021