Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 580168 Details for
Bug 814665
blender 2.62 crashes on startup
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for blender ndof system
blender-ndof_fix.patch (text/plain), 1.43 KB, created by
Richard Shaw
on 2012-04-25 13:22:59 UTC
(
hide
)
Description:
patch for blender ndof system
Filename:
MIME Type:
Creator:
Richard Shaw
Created:
2012-04-25 13:22:59 UTC
Size:
1.43 KB
patch
obsolete
>Index: intern/ghost/intern/GHOST_NDOFManagerX11.cpp >=================================================================== >--- intern/ghost/intern/GHOST_NDOFManagerX11.cpp (revision 45950) >+++ intern/ghost/intern/GHOST_NDOFManagerX11.cpp (revision 45951) >@@ -75,28 +75,32 @@ > > bool GHOST_NDOFManagerX11::processEvents() > { >- GHOST_TUns64 now = m_system.getMilliSeconds(); >- > bool anyProcessed = false; >- spnav_event e; >- while (spnav_poll_event(&e)) { >- switch (e.type) { >- case SPNAV_EVENT_MOTION: >- { >- /* convert to blender view coords */ >- short t[3] = {e.motion.x, e.motion.y, -e.motion.z}; >- short r[3] = {-e.motion.rx, -e.motion.ry, e.motion.rz}; > >- updateTranslation(t, now); >- updateRotation(r, now); >- break; >+ if (m_available) { >+ GHOST_TUns64 now = m_system.getMilliSeconds(); >+ >+ spnav_event e; >+ while (spnav_poll_event(&e)) { >+ switch (e.type) { >+ case SPNAV_EVENT_MOTION: >+ { >+ /* convert to blender view coords */ >+ short t[3] = {e.motion.x, e.motion.y, -e.motion.z}; >+ short r[3] = {-e.motion.rx, -e.motion.ry, e.motion.rz}; >+ >+ updateTranslation(t, now); >+ updateRotation(r, now); >+ break; >+ } >+ case SPNAV_EVENT_BUTTON: >+ updateButton(e.button.bnum, e.button.press, now); >+ break; > } >- case SPNAV_EVENT_BUTTON: >- updateButton(e.button.bnum, e.button.press, now); >- break; >+ anyProcessed = true; > } >- anyProcessed = true; > } >+ > return anyProcessed; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 814665
: 580168