mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Removed obsolete member variable from Canvas3D::Slope
This commit is contained in:
		
							parent
							
								
									82da1f8fc1
								
							
						
					
					
						commit
						3006213d3b
					
				
					 2 changed files with 0 additions and 4 deletions
				
			
		|  | @ -787,8 +787,6 @@ void GLCanvas3D::Tooltip::render(const Vec2d& mouse_position, GLCanvas3D& canvas | |||
|     ImGui::PopStyleVar(2); | ||||
| } | ||||
| 
 | ||||
| float GLCanvas3D::Slope::s_window_width; | ||||
| 
 | ||||
| wxDEFINE_EVENT(EVT_GLCANVAS_SCHEDULE_BACKGROUND_PROCESS, SimpleEvent); | ||||
| wxDEFINE_EVENT(EVT_GLCANVAS_OBJECT_SELECT, SimpleEvent); | ||||
| wxDEFINE_EVENT(EVT_GLCANVAS_RIGHT_CLICK, RBtnEvent); | ||||
|  |  | |||
|  | @ -357,7 +357,6 @@ class GLCanvas3D | |||
|     { | ||||
|         bool m_enabled{ false }; | ||||
|         GLVolumeCollection& m_volumes; | ||||
|         static float s_window_width; | ||||
|     public: | ||||
|         Slope(GLVolumeCollection& volumes) : m_volumes(volumes) {} | ||||
| 
 | ||||
|  | @ -368,7 +367,6 @@ class GLCanvas3D | |||
|         void set_normal_angle(float angle_in_deg) const { | ||||
|             m_volumes.set_slope_normal_z(-::cos(Geometry::deg2rad(90.0f - angle_in_deg))); | ||||
|         } | ||||
|         static float get_window_width() { return s_window_width; }; | ||||
|     }; | ||||
| 
 | ||||
|     class RenderTimer : public wxTimer { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966