Fix: Initializer list, right initialisation order

This commit is contained in:
ntfshard 2015-07-29 00:29:25 +03:00 committed by Alessandro Ranellucci
parent eb7464ace6
commit dd5c5eb931
8 changed files with 25 additions and 25 deletions

View file

@ -8,16 +8,16 @@ namespace Slic3r {
Layer::Layer(size_t id, PrintObject *object, coordf_t height, coordf_t print_z,
coordf_t slice_z)
: _id(id),
_object(object),
upper_layer(NULL),
: upper_layer(NULL),
lower_layer(NULL),
regions(),
slicing_errors(false),
slice_z(slice_z),
print_z(print_z),
height(height),
slices()
slices(),
_id(id),
_object(object)
{
}