From 484aeed589f5348cb75119a767b3df99124b3ae4 Mon Sep 17 00:00:00 2001 From: Sam Cake Date: Wed, 21 Jun 2017 00:36:03 -0700 Subject: [PATCH] More comments on the getCOnfig call --- libraries/render/src/task/Config.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/render/src/task/Config.h b/libraries/render/src/task/Config.h index 9f0b222c20..608afdce3c 100644 --- a/libraries/render/src/task/Config.h +++ b/libraries/render/src/task/Config.h @@ -140,6 +140,14 @@ public: TaskConfig(bool enabled) : JobConfig(enabled) {} + + // Get a sub job config through task.getConfig(path) + // where path can be: + // - the name of the job and then the first one found will be returned traversing the Render engine graph + // - .[.] + // Allowing to first look for the parent_name job (from the Render root) and then search from there for the + // optional sub_parent_names and finally from there looking for the job_name (assuming every job in the path were found) + // // getter for qml integration, prefer the templated getter Q_INVOKABLE QObject* getConfig(const QString& name) { return getConfig(name.toStdString()); } // getter for cpp (strictly typed), prefer this getter