<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/python-ogre/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/python-ogre/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 08 Oct 2012 21:09:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/python-ogre/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>incorrect behaviour for CEGUI subscribeEvent</title><link>https://sourceforge.net/p/python-ogre/bugs/61/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A problem exists when subscribing (only) for event means that I handled&lt;br /&gt;
it in anyway. In other words it doesn't matter what I return from&lt;br /&gt;
onKeyDown(for example) True (handled) or False(not handled) CEGUI always&lt;br /&gt;
think I handled the event.&lt;/p&gt;
&lt;p&gt;Error case is when I want to override some keys in MultilineEditBox,&lt;br /&gt;
while I'd like other to keep working as expected they don't work just&lt;br /&gt;
because I subscribed for KeyDown.&lt;/p&gt;
&lt;p&gt;Investigation showed that:&lt;br /&gt;
1) no matter what I return from python handler True/False/None - CEGUI&lt;br /&gt;
always get true (I debugged down to the wrapper code)&lt;br /&gt;
2) I'm not very strong in py++, but I found (in&lt;br /&gt;
code_generators/cegui/hand_made_wrappers.py line 126) the following:&lt;/p&gt;
&lt;p&gt;class EventCallback&lt;br /&gt;
{&lt;br /&gt;
public:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;....&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;bool operator() (const CEGUI::EventArgs &amp;amp;args) const&lt;br /&gt;
{&lt;br /&gt;
    ....&lt;/p&gt;
&lt;p&gt;else if (dynamic_cast&amp;lt;CEGUI::KeyEventArgs *&amp;gt;((CEGUI::EventArgs&lt;br /&gt;
*)&amp;amp;args))&lt;br /&gt;
if (mMethod.length() &amp;gt; 0 )&lt;br /&gt;
boost::python::call_method&amp;lt;void&amp;gt;(mSubscriber,&lt;br /&gt;
mMethod.c_str(),&lt;br /&gt;
static_cast&amp;lt;const&lt;br /&gt;
CEGUI::KeyEventArgs&amp;amp;&amp;gt;(args) );&lt;br /&gt;
else&lt;br /&gt;
boost::python::call&amp;lt;void&amp;gt;(mSubscriber,&lt;br /&gt;
static_cast&amp;lt;const&lt;br /&gt;
CEGUI::KeyEventArgs&amp;amp;&amp;gt;(args) );&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;....&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;return true;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;which rendered to EventSet.pypp.cpp:78 in the generated code.&lt;br /&gt;
As you can see it doesn't respect callback's return value because always&lt;br /&gt;
returning true and even using boost::python::call with R parametrized&lt;br /&gt;
with void...&lt;/p&gt;
&lt;p&gt;Reproduced using 1.7.1 rev.1150.&lt;br /&gt;
CEGUI 0.7.5&lt;br /&gt;
Attached patch (rough, CEGUI native binding is trunk fixed that nicer, but there's a bit different file layout thus no chance to reuse). -p 4&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleg Orel</dc:creator><pubDate>Mon, 08 Oct 2012 21:09:52 -0000</pubDate><guid>https://sourceforge.net87a84f82f6fdfa032c560eb13816adefa356ddf3</guid></item><item><title>Python-3.x print() SyntaxErrors</title><link>https://sourceforge.net/p/python-ogre/bugs/60/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This file is using python 2.7 syntax for print instead of python 3000 print()&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tstevense</dc:creator><pubDate>Wed, 25 Jan 2012 03:10:38 -0000</pubDate><guid>https://sourceforge.net518886110290076c92839d2651cc2dae09445c9d</guid></item><item><title>Updates for 1.8</title><link>https://sourceforge.net/p/python-ogre/bugs/59/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Main points for each module out with generic updates to 1.8:&lt;/p&gt;
&lt;p&gt;ogre&lt;br /&gt;
- Move registration code CompositorChain to after Viewport, complains&lt;br /&gt;
on module import of no converter for Viewport Listener.&lt;/p&gt;
&lt;p&gt;ogreterrain&lt;br /&gt;
- patched to allow build on Linux (already on tracker for nearly one year now).&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14056" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14056&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ogrepaging&lt;br /&gt;
- updated&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;ogrertshadersystem&lt;br /&gt;
- updated&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;ogresdksample&lt;br /&gt;
- updated ThirdParty/sdksample to include 1.8 directory&lt;br /&gt;
- updated environment.py to include above dir and generate_code.py&lt;br /&gt;
to copy across files from 1.8 as appropriate&lt;br /&gt;
- update environment.py to exlude linking vs Shell/User32 on Linux&lt;/p&gt;
&lt;p&gt;ogeral&lt;br /&gt;
- Update Singleton to public and variable updates.&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14679" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14679&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ogreoggsound&lt;br /&gt;
- updated code generators to exclude OgreOggSoundRecord on Linux&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=5558&amp;amp;start=45" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=5558&amp;amp;start=45&lt;/a&gt;&lt;br /&gt;
- added patch for Singleton variable naming (svn code only) - not included in environment.py&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=19&amp;amp;t=14947" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=19&amp;amp;t=14947&lt;/a&gt; &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;ogrevideoffmpeg&lt;br /&gt;
- updated third party code to build against more recent versions of ffmpeg, should still work with older versions(???)&lt;br /&gt;
- updated RGB blit code pixel format&lt;br /&gt;
- moved inttypes/stdint.h to windows subdir (causes problems on Linux)&lt;br /&gt;
- update environment.py/generate_code.py for above&lt;/p&gt;
&lt;p&gt;SConstruct&lt;br /&gt;
Workaround patch for scons on Linux.&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14906" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14906&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;boost&lt;br /&gt;
- update to build 1.47 implemented and tested on Linux only.&lt;/p&gt;
&lt;p&gt;ois&lt;br /&gt;
- update to use 1.3 implemented and tested on Linux only.&lt;/p&gt;
&lt;p&gt;demos&lt;br /&gt;
- update Demo_Smoke.py to Demo_Smoke_New.py for testing&lt;br /&gt;
- update demos/samples Sample_Transparency/Terrain.py testing sdk &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Problems:&lt;br /&gt;
Still a problem shutting down demos properly and/or problem with SCriptCompilerManager deleting ScriptCompiler on close.&lt;/p&gt;
&lt;p&gt;You may want to check the changes to environment.py to ensure they fit in with your build system.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dermont</dc:creator><pubDate>Sun, 06 Nov 2011 16:57:23 -0000</pubDate><guid>https://sourceforge.net62a40176d9caa08244d246dfb0cb83dcd7e534a9</guid></item><item><title>Bullet 2.79 softbody tests</title><link>https://sourceforge.net/p/python-ogre/bugs/58/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The following tar file includes some examples from the SoftBody.cpp demo and should cover most of the the following updates.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The btogre module from the following link is required (for DebugDraw support).&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14854" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14854&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1.  bt*Shape - getName return string instead of addressof&lt;br /&gt;
2.  getCollidingObjectsAndPoints - &lt;br /&gt;
&lt;a href="http://sourceforge.net/tracker/?func=detail&amp;amp;aid=3312809&amp;amp;group"&gt;http://sourceforge.net/tracker/?func=detail&amp;amp;aid=3312809&amp;amp;group&lt;/a&gt;_id=186291&amp;amp;atid=916690&lt;/p&gt;
&lt;p&gt;myCollisionList = self.dynamicsWorld.getCollidingObjectsAndPoints()&lt;br /&gt;
for col in myCollisionList:&lt;br /&gt;
i = 0&lt;br /&gt;
for pt in col[2]:&lt;br /&gt;
b = pt.getPositionWorldOnA()&lt;br /&gt;
print i, pt.getDistance() , b.x(),b.y(),b.z()&lt;br /&gt;
i+=1&lt;br /&gt;
3.  btCollisionShape - get/setUserPointer wrapped as get/setUserData as per CollisionObject&lt;/p&gt;
&lt;p&gt;4.  btSoftBody ctor wrapped as makeSoftBody in main namespace&lt;br /&gt;
btSoftBody(btSoftBodyWorldInfo* worldInfo,&lt;br /&gt;
int node_count,const btVector3* x,const btScalar* m);&lt;/p&gt;
&lt;p&gt;s=4.0&lt;br /&gt;
x=[    bullet.btVector3(-s,0,-s),&lt;br /&gt;
bullet.btVector3(+s,0,-s),&lt;br /&gt;
bullet.btVector3(+s,0,+s),&lt;br /&gt;
bullet.btVector3(-s,0,+s)]&lt;br /&gt;
m = [0,0,0,1]&lt;br /&gt;
psb=bullet.makeSoftBody(pdemo.m_softBodyWorldInfo,4,x,m)&lt;/p&gt;
&lt;p&gt;5. btSoftBodyConcaveCollisionAlgorithm and btSoftBodyTriangleCallback now included&lt;/p&gt;
&lt;p&gt;6. btAlignedAllocator now wrapped:&lt;br /&gt;
- &amp;lt;btSoftBody::SContact,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::RContact,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::Anchor,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::Tetra,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::Face,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::Link,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::Node,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::Note,16u&amp;gt;&lt;/p&gt;
&lt;p&gt;Manually/Ugly Fixes to edit and remove '::_' suffix.&lt;br /&gt;
- btSoftBody::ePSolver::_, 16u &amp;gt;&lt;/p&gt;
&lt;p&gt;- btSoftBody::eVSolver::_, 16u &amp;gt;&lt;/p&gt;
&lt;p&gt;- tPSolverArray&lt;br /&gt;
- tVSolverArray &lt;/p&gt;
&lt;p&gt;7. btTriangleIndexVertexArray wrapped to accept python lists bullet.makeTriangleIndexVertexArray(), not working yet, don't use.&lt;/p&gt;
&lt;p&gt;8. need to update physics/bullet/ __init__.py  to include some defines:&lt;br /&gt;
import sys&lt;/p&gt;
&lt;p&gt;SIMD_2_PI =6.283185307179586232&lt;br /&gt;
SIMD_PI   = SIMD_2_PI * 0.5&lt;br /&gt;
SIMD_HALF_PI  = SIMD_2_PI * 0.25&lt;br /&gt;
SIMD_RADS_PER_DEG = SIMD_2_PI / 360.0&lt;br /&gt;
SIMD_DEGS_PER_RAD = 360.0 / SIMD_2_PI&lt;br /&gt;
SIMDSQRT12 = 0.7071067811865475244008443621048490&lt;br /&gt;
def btRecipSqrt(x):&lt;br /&gt;
return (float((float(1.0)/_bullet_.btSqrt(float(x)))) )&lt;br /&gt;
SIMD_EPSILON=sys.float_info.epsilon&lt;br /&gt;
SIMD_INFINITY=sys.float_info.max&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dermont</dc:creator><pubDate>Thu, 13 Oct 2011 13:43:34 -0000</pubDate><guid>https://sourceforge.net4546fb5c90f40be7418c43c5de4ef1ddde97a734</guid></item><item><title>Updates 2.79 and SoftBody</title><link>https://sourceforge.net/p/python-ogre/bugs/57/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;See the following link:&lt;br /&gt;
&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14854" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14854&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Updates to Bullet2.79 and sofybody support - bullet_softbody.patch patched from code_generators/bullet directory. Only tested on Linux.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dermont</dc:creator><pubDate>Thu, 13 Oct 2011 13:35:40 -0000</pubDate><guid>https://sourceforge.nete669e6dd31ebd67e84649f150b808fc218558cd5</guid></item><item><title>ogreoggsound fails to compile on Linux</title><link>https://sourceforge.net/p/python-ogre/bugs/56/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;OgreOggSoundRecorder is only implemented on Windows. It needs to be excluded for Linux builds. Solution here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=5558&amp;amp;p=82664" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=5558&amp;amp;p=82664&lt;/a&gt;#p82664&lt;/p&gt;
&lt;p&gt;Also, the demo Demo_Sound1.py uses the wrong library name when loading OgreOggSound.&lt;/p&gt;
&lt;p&gt;Patch is attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eliot Eshelman</dc:creator><pubDate>Mon, 19 Sep 2011 23:59:22 -0000</pubDate><guid>https://sourceforge.net8cff67a42187065f432e46da16df8665c872e87e</guid></item><item><title>Ogre Procedural Module</title><link>https://sourceforge.net/p/python-ogre/bugs/55/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Patch for Ogre Procedural Module - default branch  from:&lt;br /&gt;
&lt;a href="http://code.google.com/p/ogre-procedural/" rel="nofollow"&gt;http://code.google.com/p/ogre-procedural/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14708" rel="nofollow"&gt;http://www.ogre3d.org/addonforums/viewtopic.php?f=3&amp;amp;t=14708&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Only tested on Linux and haven't tried patch on fresh python-ogre svn. If there is a problem please let me know.&lt;br /&gt;
Also may need to add jpgs from ogre-procedural to demos/procedurial/media. First iteration so probably still needs some work.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dermont</dc:creator><pubDate>Sun, 14 Aug 2011 06:31:04 -0000</pubDate><guid>https://sourceforge.net1e9b9f83203ec3a014c3a73939785cb8ae00dd92</guid></item><item><title>"/usr/bin/python" is "/usr/bin/python3" for some platforms</title><link>https://sourceforge.net/p/python-ogre/bugs/54/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;"/usr/bin/python" is "/usr/bin/python3" for some platforms i.e. archlinux.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kibeom Kim</dc:creator><pubDate>Sat, 02 Jul 2011 04:33:06 -0000</pubDate><guid>https://sourceforge.net14cb2fca27ff66728aee60ab2f198e582f700014</guid></item><item><title>getCollidingObjectsAndPoints() method crashes Python</title><link>https://sourceforge.net/p/python-ogre/bugs/53/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The getCollidingObjectsAndPoints() method crashes Python with the following error:&lt;/p&gt;
&lt;p&gt;TypeError: No to_python (by-value) converter found for C++ type: class boost::python::list&lt;/p&gt;
&lt;p&gt;A test file is attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mohammad Akram</dc:creator><pubDate>Mon, 06 Jun 2011 23:34:17 -0000</pubDate><guid>https://sourceforge.netf949439c953dc2d6c768e172512d2e98cb1e9c02</guid></item><item><title>Time Module buggy when using DX9 rendering</title><link>https://sourceforge.net/p/python-ogre/bugs/52/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Version: 1.7.2&lt;br /&gt;
Rendering: Dx9&lt;/p&gt;
&lt;p&gt;The module time has function called time.time()&lt;br /&gt;
When usign DX9, the function returns the same value all the time.&lt;/p&gt;
&lt;p&gt;OpenGL does not have this issue.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mohican</dc:creator><pubDate>Fri, 13 May 2011 12:25:22 -0000</pubDate><guid>https://sourceforge.net29dffaf9aa0fb778c6cb3f50eeb77f5c5e1f3aed</guid></item></channel></rss>