Added missing get_volume() method to the PrintObject Perl interface.

This commit is contained in:
bubnikv 2017-02-22 16:05:14 +01:00
parent 4a84643894
commit a4dd6c7ce5

View File

@ -142,6 +142,8 @@ ModelMaterial::attributes()
void clear_volumes();
int volumes_count()
%code%{ RETVAL = THIS->volumes.size(); %};
Ref<ModelVolume> get_volume(int idx)
%code%{ RETVAL = THIS->volumes.at(idx); %};
%name{_add_instance} Ref<ModelInstance> add_instance();
Ref<ModelInstance> _add_instance_clone(ModelInstance* other)