I'm sorry to hear the sk module is going away. I've been having fun with it. Hope it's only temporary.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Latest posts made by Gcarver166
-
RE: 1.6 Beta Status
-
RE: Attaching a class to a ui element such as uiButton (I am desperate)
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.
-
RE: Copying UI editor object programmatically
I often use the copy module.
import copynewobj = copy.copy(oldobj)
-
RE: Beta Status Update
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. -
RE: Beta Status Update
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.
-
RE: Beta Status Update
I really think sk.Scene.update() should take a delta time parameter instead of assuming 16ms.
-
RE: Beta Status Update
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.
-
RE: Beta Status Update
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.