new_contents: # Copyright (c) 2015 Ultimaker B.V.
  # Cura is released under the terms of the AGPLv3 or higher.
  
  from UM.Application import Application
  from UM.View.RenderPass import RenderPass
  
  class DefaultPass(RenderPass):
      def __init__(self, width, height):
          super().__init__("default", width, height, 0)
  
          self._renderer = Application.getInstance().getRenderer()
  
      def render(self):
          self.bind()
  
          camera = Application.getInstance().getController().getScene().getActiveCamera()
  
          for batch in self._renderer.getBatches():
              batch.render(camera)
  
          self.release()
  
subject: Add DefaultPass class that performs the default rendering