Curves: change default font offset from 1.0 to 0.0 #105182
|
@ -409,6 +409,9 @@ void BKE_curve_init(Curve *cu, const short curve_type)
|
||||||
cu->resolv = 4;
|
cu->resolv = 4;
|
||||||
}
|
}
|
||||||
cu->bevel_profile = nullptr;
|
cu->bevel_profile = nullptr;
|
||||||
|
/* Initialize the offset to 1.0, to compensate for it being set to -1.0
|
||||||
|
in the property getter. */
|
||||||
|
cu->offset = 1.0f;
|
||||||
pioverfour marked this conversation as resolved
|
|||||||
}
|
}
|
||||||
|
|
||||||
Curve *BKE_curve_add(Main *bmain, const char *name, int type)
|
Curve *BKE_curve_add(Main *bmain, const char *name, int type)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
.pathlen = 100, \
|
.pathlen = 100, \
|
||||||
.resolu = 12, \
|
.resolu = 12, \
|
||||||
.resolv = 12, \
|
.resolv = 12, \
|
||||||
.offset = 1.0, \
|
.offset = 0.0, \
|
||||||
.wordspace = 1.0, \
|
.wordspace = 1.0, \
|
||||||
.spacing = 1.0f, \
|
.spacing = 1.0f, \
|
||||||
.linedist = 1.0, \
|
.linedist = 1.0, \
|
||||||
|
|
Loading…
Reference in New Issue
1.0
->1.0f