mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Out of bed detection - Volumes' layer texture rendering moved to cpp
This commit is contained in:
parent
bdd2d725c8
commit
7a2df9f54f
4 changed files with 145 additions and 57 deletions
|
@ -19,6 +19,9 @@
|
|||
void enable() const;
|
||||
void disable() const;
|
||||
|
||||
int shader_program_id() const
|
||||
%code%{ RETVAL = THIS->shader_program_id; %};
|
||||
|
||||
std::string last_error() const
|
||||
%code%{ RETVAL = THIS->last_error; %};
|
||||
};
|
||||
|
@ -45,6 +48,9 @@
|
|||
int zoom_to_volumes()
|
||||
%code%{ RETVAL = THIS->zoom_to_volumes; %};
|
||||
|
||||
void set_layer_height_texture_data(unsigned int texture_id, unsigned int shader_id, PrintObject* print_object, float z_cursor_relative, float edit_band_width);
|
||||
void reset_layer_height_texture_data();
|
||||
|
||||
int object_idx() const;
|
||||
int volume_idx() const;
|
||||
int instance_idx() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue