mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Revert of b140709fa8
and new implementation of fixing picking for sinking objects
This commit is contained in:
parent
7cd402dcd0
commit
1f3252dd78
8 changed files with 86 additions and 96 deletions
|
@ -50,10 +50,6 @@ std::pair<bool, std::string> GLShadersManager::init()
|
|||
);
|
||||
// used to render variable layers heights in 3d editor
|
||||
valid &= append_shader("variable_layer_height", { "variable_layer_height.vs", "variable_layer_height.fs" });
|
||||
#if ENABLE_ALLOW_NEGATIVE_Z
|
||||
// used to render volumes during picking pass
|
||||
valid &= append_shader("picking", { "picking.vs", "picking.fs" });
|
||||
#endif // ENABLE_ALLOW_NEGATIVE_Z
|
||||
|
||||
return { valid, error };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue