8000 Blender 2.8x support by carter2422 · Pull Request #12 · CGCookie/addon_common · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Blender 2.8x support #12

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

Open
wants to merge 303 commits into
base: master
Choose a base branch
from
Open

Blender 2.8x support #12

wants to merge 303 commits into from

Conversation

carter2422
Copy link
Member

Not ready to merge yet

added context manager (`profiler.code`) so that profiled code can be
wrapped in `with`.

- better handles when exceptions occur
- improves readability a bit
- prevents accidentally using same variable with nested profiles
- explicit finish of profile section
for some reason, `inspect.isfunction` was causing problems with
Blender's internal operator stuff, causing the operator to become
unregistered.  have no idea why.  effect: could not run RF second time
without restarting Blender.

change: use `type` instead of `inspect` to prevent triggering an
unregister.
- many CC fns now has _cc_ prefix to prevent accidental overwrites
- CC can now ignore sending events to ui (document)
- 2d line segment drawing now available, with stippling!  (stipple
removed in b280)
boundvar
- allows for wrapping local var in setter/getter
- useful for UI!
still not working how i'd like (requires tuning to get labeled inputs to
behave appropriately)... but it's working for now
- bezier now uses generalized mat,vec mult fn
- generalized new shader creation
  - reads from .glsl file, similar to previous
  - moved glsl source to files
- added more drawing fns: 2D lines, 2D points
- started 3D drawing fns, still WiP
prevent document.body from capturing mousedown actions (like LMB)!
vxlcoder and others added 30 commits May 26, 2020 12:01
CC was adding an exception handling fn each time CC was started.  now it
removes the handler once CC ends
- can get first n actions in human-readable form
- reset statusbar when CC ends
still needs work:

- visual bugs with width+positioning
- strange performance issues when dragging off the element
not sure of the cause, but if _under_mousedown is None, the mousedown
event handler will effectively ignore the mousedown event.

see RetopoFlow issue #857
- caching font filenames now
- font mapping using nested dict (font family, font style, font weight)
rather than constructed strings
- creating local names for math.isinf, math.floor, math.ceil
- removing try:except in _get_style_num.  *might* cause issues if v
isn't correct type, but this *should never* happen :P
- replaced series of if/elifs with dict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0