Jump to content
The Dark Mod Forums

OrbWeaver

Active Developer
  • Posts

    8644
  • Joined

  • Last visited

  • Days Won

    65

OrbWeaver last won the day on February 9

OrbWeaver had the most liked content!

Reputation

1087 Deity

2 Followers

Profile Information

  • Gender
    Male

Recent Profile Visitors

20030 profile views

Single Status Update

See all updates by OrbWeaver

  1. Hello again.
    Thanks for the commit. I changed the lines as you noted. But now I see this error:

    <Traceback (most recent call last):
      File "/home/jimm/.config/blender/2.82/scripts/addons/io_export_ase-2.py", line 1001, in execute
        bpy.ops.object.select_all( action = 'DESELECT' )
      File "/usr/share/blender/scripts/modules/bpy/ops.py", line 201, in __call__
        ret = op_call(self.idname_py(), None, kw)
    RuntimeError: Operator bpy.ops.object.select_all.poll() failed, context is incorrect>

    I can see by you board activity that you're busy, and I'm just trying to learn how to export from Blender into DarkRadiant right now, so this isn't really of the greatest importance. I don't want to impact your schedule too much.

    1. Show previous comments  5 more
    2. OrbWeaver

      OrbWeaver

      You shouldn't need any external packages installed, no. The only dependencies for the script are Blender and its in-built Python.

      Looking more closely at the error message, I wonder if we might be barking up the wrong tree with Blender and Python versions, and this might perhaps be related to the current configuration of the Blender project/GUI. When you do the export, are you in Object or Edit mode? Does it help if you switch modes before running the exporter?

      If this doesn't make a difference, would you perhaps be able to record a desktop video of the problem, starting with creating a simple object in Blender and then trying to export it? Perhaps this will reveal if something is wrong in your project which might break the script.

    3. OrbWeaver

      OrbWeaver

      I just tested and I can reproduce the error if I try to export from Edit mode rather than Object mode, so I have high hopes that this will solve the problem.

      This is arguably still a bug in the script though, since it should handle the situation gracefully either by changing modes or by showing a user-friendly error message indicating the problem, rather than a meaningless Python stacktrace.

    4. mmij

      mmij

      Thanks for doing the testing. I tried changing modes and it worked great. Thank you. I would have never thought of that.
      When I was attempting the export, I was following the instructions from the Wiki--cause I really have no real idea of what I'm doing in Blender yet.
      Now that you've cleared things up, I can get back on trying to build some models for a mission.
      Great work and thanks again.

×
×
  • Create New...