Blender Git Commit Log

Git Commits -> Revision e96f0d2

Revision e96f0d2 by Germano Cavalcante (master)
April 12, 2021, 14:08 (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: e96f0d2e2b5cba05a2455278898bbd6026852aaf
Parent Commit: 95e010a
Lines Changed: +1, -0

1 Modified Path:

/source/blender/blenkernel/intern/curve.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021