Added missing get_volume() method to the PrintObject Perl interface.
This commit is contained in:
parent
4a84643894
commit
a4dd6c7ce5
@ -142,6 +142,8 @@ ModelMaterial::attributes()
|
|||||||
void clear_volumes();
|
void clear_volumes();
|
||||||
int volumes_count()
|
int volumes_count()
|
||||||
%code%{ RETVAL = THIS->volumes.size(); %};
|
%code%{ RETVAL = THIS->volumes.size(); %};
|
||||||
|
Ref<ModelVolume> get_volume(int idx)
|
||||||
|
%code%{ RETVAL = THIS->volumes.at(idx); %};
|
||||||
|
|
||||||
%name{_add_instance} Ref<ModelInstance> add_instance();
|
%name{_add_instance} Ref<ModelInstance> add_instance();
|
||||||
Ref<ModelInstance> _add_instance_clone(ModelInstance* other)
|
Ref<ModelInstance> _add_instance_clone(ModelInstance* other)
|
||||||
|
Loading…
Reference in New Issue
Block a user