Announcement

Collapse
No announcement yet.

UI Corrupt on Render

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UI Corrupt on Render

    Hi,

    I could find anyone mentioning this on the forum but, I have been getting this on two different machines.
    This only occurs occasionally but, the all the controls for the light, materials etc in the properties panel disappear.
    They return once blender is restarted. I have tried different Window Draw Methods but it continues to happen.

    Any ideas?

    Thanks
    Dan

    I'm using the latest vray blender custom build both 32 and 64 bit. Using the latest version of vray, version 2.0.20.

    Thanks again.

  • #2
    Re: UI Corrupt on Render

    Do you see any error message in the console when this problem happens?

    Comment


    • #3
      Re: UI Corrupt on Render

      Hi
      This is unfortunately some bug with blender, was supposedly fixed months ago but still pops up again randomly I find as well.
      Albeit much-much less often than before the fix. Prior to the fix we could drop the UI like this by just swirling the colour picker around repeatedly.
      Now I see it at most 1 time a month.

      If you can make this problem happen pretty often I would recommend to report a bug at blender bug tracker.

      Comment


      • #4
        Re: UI Corrupt on Render

        I know what you mean, I'm sure I have seen this in the past with Blender, but I don't seem to get this anymore in Blender alone, I only get this in the custom build when using VRay. Also I get it very frequently. Sometimes I can go an hour or so without a glitch and then just now I've had it happen twice in a few minutes.

        The console displays many various versions of this error. let me know if you'd like to see more of the errors.

        Code:
        location:<unknown location>:-1
        
        location:<unknown location>:-1
        Traceback (most recent call last):
          File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
        material.py", line 654, in draw
            layout.active = context.material.game_settings.physics
        AttributeError: 'Context' object has no attribute 'material'
        Thanks
        Dan

        Comment


        • #5
          Re: UI Corrupt on Render

          It seems related to game engine... in the script there is a note and tells to not use node material. Try this, I'm not be able to replicate this bug.

          Comment


          • #6
            Re: UI Corrupt on Render

            I don't think it's related to the game engine as a whole. That example of the error mentions the game engine, but there are other parts and I didn't want to post a long list but to make things a little clearer I will post the whole message I managed to capture.

            All the errors on this example seem to be involving the properties_material.py from both blender and the vray addon.

            Dan

            Code:
            material.py", line 645, in draw_header
                game = context.material.game_settings
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 654, in draw
                layout.active = context.material.game_settings.physics
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 682, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 728, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 735, in draw
                base_mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 778, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 822, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 827, in draw_header
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 853, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 865, in draw
                vol = context.material.volume  # don't use node material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 853, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 879, in draw
                vol = context.material.volume  # don't use node material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 853, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 904, in draw
                vol = context.material.volume  # don't use node material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 938, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 945, in draw
                mat = context.material  # don't use node material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 853, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 957, in draw
                vol = context.material.volume  # don't use node material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 979, in poll
                mat = context.material
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\bl_ui\properties_
            material.py", line 80, in poll
                return context.material and (context.scene.render.engine in cls.COMPAT_ENGIN
            ES)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 47, in draw
                self.layout.template_preview(context.material, show_buttons = False)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 137, in poll
                material= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 146, in draw
                material= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 163, in poll
                material= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 187, in poll
                return active_node_mat(context.material) and engine_poll(__class__, context)
            
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 190, in draw_header
                ma= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 245, in poll
                return active_node_mat(context.material) and engine_poll(__class__, context)
            
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 248, in draw_header
                ma= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 290, in poll
                return active_node_mat(context.material) and engine_poll(__class__, context)
            
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 293, in draw_header
                mat= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 366, in poll
                active_ma= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 372, in draw_header
                ma= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1
            Traceback (most recent call last):
              File "C:\Program Files\VRayBlender-2.63\2.63\scripts\startup\vb25\ui\propertie
            s_material.py", line 400, in poll
                active_ma= active_node_mat(context.material)
            AttributeError: 'Context' object has no attribute 'material'
            
            location:<unknown location>:-1
            
            location:<unknown location>:-1

            Comment


            • #7
              Re: UI Corrupt on Render

              Other deep scripts like luxrender and I think indigo have seen this problem too.
              I have never seen the problem without having an external render engine script running.

              I'm having trouble finding the old bug report on blender, but it had a comment after being fixed that not all cases may be handled. (or something to that effect)

              Comment

              Working...
              X