Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

remove error messages

by roundabout, Saturday, 22 November 2025, 19:53:55 (1763841235), pushed by roundabout, Saturday, 22 November 2025, 19:53:57 (1763841237)

Author identity: vlad <vlad.muntoiu@gmail.com>

80d0d5e6d1e2a803bd6243449a7c7746eb2de273

material_shading.py

@@ -15,7 +15,6 @@ def get_fill(elem):

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            def get_bottom_edge_colour(elem):
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                fill = inkex.colors.Color(get_fill(elem))
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                h, s, l = fill.to("hsl").hue / 255 * 360, fill.to("hsl").saturation / 255 * 100, fill.to("hsl").lightness / 255 * 100
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            inkex.errormsg((h, s, l))
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                if s < 10:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    if l > 80:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        return "#212121", 0.1