Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad * Migrate src/Mod/Material files * Migrate Stylesheet related files * Migrate *.svg files * Migrate miscellaneous files * Migrate some build files * Migrate recently added TD AR_IRAM template files Closes #6415
This commit is contained in:
@@ -447,9 +447,9 @@ void View3DInventorViewer::init()
|
||||
// Important note:
|
||||
// When creating a new GL render action we have to copy over the cache context id
|
||||
// because otherwise we may get strange rendering behaviour. For more details see
|
||||
// http://forum.freecadweb.org/viewtopic.php?f=10&t=7486&start=120#p74398 and for
|
||||
// http://forum.freecad.org/viewtopic.php?f=10&t=7486&start=120#p74398 and for
|
||||
// the fix and some details what happens behind the scene have a look at this
|
||||
// http://forum.freecadweb.org/viewtopic.php?f=10&t=7486&p=74777#p74736
|
||||
// http://forum.freecad.org/viewtopic.php?f=10&t=7486&p=74777#p74736
|
||||
uint32_t id = this->getSoRenderManager()->getGLRenderAction()->getCacheContext();
|
||||
this->getSoRenderManager()->setGLRenderAction(new SoBoxSelectionRenderAction);
|
||||
this->getSoRenderManager()->getGLRenderAction()->setCacheContext(id);
|
||||
@@ -505,7 +505,7 @@ View3DInventorViewer::~View3DInventorViewer()
|
||||
// It can happen that a document has several MDI views and when the about to be
|
||||
// closed 3D view is in edit mode the corresponding view provider must be restored
|
||||
// because otherwise it might be left in a broken state
|
||||
// See https://forum.freecadweb.org/viewtopic.php?f=3&t=39720
|
||||
// See https://forum.freecad.org/viewtopic.php?f=3&t=39720
|
||||
if (restoreEditingRoot) {
|
||||
resetEditingRoot(false);
|
||||
}
|
||||
@@ -1145,7 +1145,7 @@ void View3DInventorViewer::setRenderCache(int mode)
|
||||
// transparency type.
|
||||
//
|
||||
// For more details see:
|
||||
// https://forum.freecadweb.org/viewtopic.php?f=18&t=43305&start=10#p412537
|
||||
// https://forum.freecad.org/viewtopic.php?f=18&t=43305&start=10#p412537
|
||||
coin_setenv("COIN_AUTO_CACHING", "0", TRUE);
|
||||
|
||||
int setting = ViewParams::instance()->getRenderCache();
|
||||
@@ -2078,7 +2078,7 @@ void View3DInventorViewer::renderGLImage()
|
||||
|
||||
// #define ENABLE_GL_DEPTH_RANGE
|
||||
// The calls of glDepthRange inside renderScene() causes problems with transparent objects
|
||||
// so that's why it is disabled now: http://forum.freecadweb.org/viewtopic.php?f=3&t=6037&hilit=transparency
|
||||
// so that's why it is disabled now: http://forum.freecad.org/viewtopic.php?f=3&t=6037&hilit=transparency
|
||||
|
||||
// Documented in superclass. Overrides this method to be able to draw
|
||||
// the axis cross, if selected, and to keep a continuous animation
|
||||
|
||||
Reference in New Issue
Block a user