mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-17 01:54:42 +00:00
from QDir shadersDir = QDir(qApp->applicationDirPath()); to QDir shadersDir = PluginManager::getBaseDirPath();
This commit is contained in:
parent
c5c673f362
commit
8e4e52b63a
@ -22,6 +22,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "render_rfx.h"
|
||||
#include <common/pluginmanager.h>
|
||||
|
||||
RenderRFX::RenderRFX()
|
||||
{
|
||||
@ -54,7 +55,7 @@ QList<QAction*> RenderRFX::actions()
|
||||
|
||||
void RenderRFX::initActionList()
|
||||
{
|
||||
QDir shadersDir = QDir(qApp->applicationDirPath());
|
||||
QDir shadersDir = PluginManager::getBaseDirPath();
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
if (shadersDir.dirName() == "debug" ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user