• Gcarver166

    I'm sorry to hear the sk module is going away. I've been having fun with it. Hope it's only temporary.

    posted in Pythonista read more
  • Gcarver166

    I do this by supplying a custom action for the ui element which overloads call(self, bnt): self.action(btn) to perform the action. Then I simply add whatever I need to this object and access it with the ui.action member.

    posted in Pythonista read more
  • Gcarver166

    I often use the copy module.
    import copy

    newobj = copy.copy(oldobj)

    posted in Pythonista read more
  • Gcarver166

    Misha, try setting new.alpha = 1

    posted in Pythonista read more
  • Gcarver166

    misha,
    regarding your issue.
    new = particle_tpl.copy() #does not correctly copy the physics body.
    new.physics_body = particle_tpl.physics_body.copy() #should fix your problem.

    posted in Pythonista read more
  • Gcarver166

    node.copy() does not copy the physics body correctly. The node copy points to a physics body but I think it's the same as the original. I have to manually make a copy.

    posted in Pythonista read more
  • Gcarver166

    I really think sk.Scene.update() should take a delta time parameter instead of assuming 16ms.

    posted in Pythonista read more
  • Gcarver166

    Still a bug: In one of my editor scripts I still get a row_height of -1 from a TableView. Now it actually seems to never be set. I'm manually setting it during init at the moment. I checked the value in did_load() and layout(). Btw my editor script presents a view. I get a -1 if run directly as well. I have reported this in previous versions of 1.6. The height worked in 1.5 but other issues prevented this script from working before.

    posted in Pythonista read more
  • Gcarver166

    Bug: I was adjusting the order of editor actions, moving the default ones to the bottom of the list. Suddenly only the last script in my list was available . I removed and readded mine (about 6) but still only the last one is available for selection. They still show up in the editor action list in settings though.

    posted in Pythonista read more
  • Gcarver166

    ui.TableView.row_height is still always -1.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!