Timeline for how add properties to operator modal draw?
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 25, 2015 at 15:23 | history | edited | iKlsR |
edited tags
|
|
May 8, 2015 at 0:06 | vote | accept | yhoyo | ||
S May 8, 2015 at 0:06 | history | bounty ended | yhoyo | ||
S May 8, 2015 at 0:06 | history | notice removed | yhoyo | ||
May 5, 2015 at 7:03 | answer | added | zeffii | timeline score: 4 | |
May 5, 2015 at 6:18 | comment | added | zeffii |
can you please explain what you are trying to do in draw_callback_px , i can read the code, but you need to explain what you think it should be doing. Avoid mixing bmesh operations inside your bgl callback. if you want to define drawing characteristics for your bgl, then create a panel and use scene properties. As it stands I think the question is too broad. and the code far too long to be considered a condensed demo.
|
|
May 5, 2015 at 5:58 | history | edited | zeffii |
edited tags
|
|
May 5, 2015 at 5:16 | comment | added | zeffii | I encourage you to make a GitHub repository for the test, this will allow you to make branches. Master would have the code without bgl drawing and test branches would have various different approaches. The benefit is that you don't have to keep track of what code to comment / uncomment. The sooner you include branches in your development process the less hectic it will be. | |
S May 5, 2015 at 2:27 | history | bounty started | yhoyo | ||
S May 5, 2015 at 2:27 | history | notice added | yhoyo | Authoritative reference needed | |
May 3, 2015 at 16:36 | comment | added | zeffii | i'm still not sure I understand what you are trying to achieve. Though I think it's not a great idea to be mixing bmesh mesh updates and bgl calls inside the one bgl callback (but I cannot prove with facts yet why I think that's a bad idea). | |
May 3, 2015 at 15:37 | comment | added | yhoyo | @zeffii thanks for your comment, I update the post with more data.. thanks for any help | |
May 3, 2015 at 15:37 | history | edited | yhoyo | CC BY-SA 3.0 |
add more data
|
May 3, 2015 at 7:18 | comment | added | zeffii | it might help to describe the goal of your experiment, as it stands the template for operator modal draw code won't let you interact with the UI anyway so you wouldn't be able to drag a slider if it was added. | |
May 3, 2015 at 3:55 | history | tweeted | twitter.com/#!/StackBlender/status/594711824613961728 | ||
May 2, 2015 at 22:45 | answer | added | Chebhou | timeline score: 0 | |
May 2, 2015 at 22:02 | history | edited | yhoyo | CC BY-SA 3.0 |
added 2 characters in body
|
May 2, 2015 at 20:24 | history | asked | yhoyo | CC BY-SA 3.0 |