forked from qt-creator/qt-creator
QmlDesigner.NodeInstances: Create effect items only in the render process
Change-Id: I0506bf898582ba8e26a22f51737eae4d82f06c63 Reviewed-on: http://codereview.qt.nokia.com/4004 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
#include "completecomponentcommand.h"
|
||||
#include "componentcompletedcommand.h"
|
||||
#include "createscenecommand.h"
|
||||
#include "sgitemnodeinstance.h"
|
||||
|
||||
|
||||
#include "dummycontextobject.h"
|
||||
|
||||
@@ -70,6 +72,7 @@ namespace QmlDesigner {
|
||||
Qt5RenderNodeInstanceServer::Qt5RenderNodeInstanceServer(NodeInstanceClientInterface *nodeInstanceClient) :
|
||||
Qt5NodeInstanceServer(nodeInstanceClient)
|
||||
{
|
||||
Internal::SGItemNodeInstance::createEffectItem(true);
|
||||
}
|
||||
|
||||
void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
|
||||
|
||||
Reference in New Issue
Block a user