-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with preview #13
Comments
Hi, i use Linux too ( latest Pop_OS 19.10 distro )
Eventually delete the addon and reinstall it. What version of the addon are you using? |
Hi @AndreaMonzini thanks for your answer ! I just overviewed the code so far, not sure about it... thanks ! |
Yes, the preview button will open a second text editor for a dual view and starts the preview. Anyway i will test the different versions to check if it works here. |
Just checked that the Release 012 and the last committed master work with 2.82 on my Linux distro. |
No luck so far, but it seems the problem is related with this part of the dual screen operator
the break in it kind of stops the operator if your blender screen has some non text editor area, trying to get the grasp of it ! |
If you start Blender from terminal can you please report the terminal messages? |
i am running from terminal, but so far no error raised. if i understand correctly, it gets stuck on any non text editor area in the context screen and return finished because of the join operator. I may have a workaround, i'll post it here if it works ! |
ok i took a different approach, for now the addon was trying to get all areas and guessing which one could be preview to join it (i'm guessing in order to "cancel" dual screen) but it was a clunky way to do it because of the iteration across the areas, so i get rid of this part for now, and the behavior becomes :
would this behavior makes sense to you guys ? For now there is no "cancelling" the dual screen mode, this could be difficult to do properly, because the user can rearrange its workspace before that. I'm looking into it right now ! i believe the cancelling should be another operator don't you think ? I'll add that to the push request i made ! |
Hey, i'm rewriting the screenwriter dual_screen operator, and trying to reimplement the join, but here's the problem so far :
Here's a video of the problem So my thinking on this problem the join option seems to be too clunky, i think the user should just be able to split current area through the dual_screen operator, then join if needed manually. |
Yes, maybe you're right. I discussed it with the coder who changed the behaviour in 2.81. before you could determine which way to join through the API. I pasted it into one of the now closed issues. Maybe it's better to leave it without the join until it is properly fixed in the API. |
i just made a pull with rewrite operator, tried to clean the code and add a "global" message and variable logic to it. |
This has been solved by #17 |
Hi, i installed the addon on ubuntu 19.04 and tried with blender 2.82 (-e5b788bad8bc-linux-glibc217-x86_64)
I have hard times to get a preview working, i opened the fountain script you provided in the zip of the last release, but when clicking on any of the 3 operators, i don't get anything and it raises no error at all.
The preview operator do get me a "wrong way" cursor which disappears when clicking or hitting esc key.
I don't have a good knowledge of the addon so far, what should happend when working correctly ? splitting the text editor to get a preview windows when hitting preview is that right ?
The text was updated successfully, but these errors were encountered: