mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-06 05:37:04 +08:00
add trafo interactability to perl binding
This commit is contained in:
parent
d42914a285
commit
e98038801a
@ -334,6 +334,8 @@ ModelMaterial::attributes()
|
|||||||
%code%{ RETVAL = THIS->scaling_factor; %};
|
%code%{ RETVAL = THIS->scaling_factor; %};
|
||||||
Ref<Pointf> offset()
|
Ref<Pointf> offset()
|
||||||
%code%{ RETVAL = &THIS->offset; %};
|
%code%{ RETVAL = &THIS->offset; %};
|
||||||
|
Ref<TransformationMatrix> additional_trafo()
|
||||||
|
%code%{ RETVAL = &THIS->additional_trafo; %};
|
||||||
|
|
||||||
void set_rotation(double val)
|
void set_rotation(double val)
|
||||||
%code%{ THIS->rotation = val; %};
|
%code%{ THIS->rotation = val; %};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user