@@ -38,17 +38,17 @@ class RENDER_PIPELINE_DECL RenderPipeline: public RPObject
3838 template <class Type > Type get_setting (const std::string& setting_path, const Type& fallback) const ;
3939
4040public:
41- static RenderPipeline* get_global_ptr (void );
41+ static RenderPipeline* get_global_ptr (void );
4242
43- RenderPipeline (void );
44- ~RenderPipeline (void );
43+ RenderPipeline (void );
44+ ~RenderPipeline (void );
4545
46- /* *
47- * Loads the pipeline configuration from a given filename. Usually
48- * this is the 'config/pipeline.ini' file. If you call this more than once,
49- * only the settings of the last file will be used.
50- */
51- void load_settings (const std::string& path);
46+ /* *
47+ * Loads the pipeline configuration from a given filename. Usually
48+ * this is the 'config/pipeline.ini' file. If you call this more than once,
49+ * only the settings of the last file will be used.
50+ */
51+ void load_settings (const std::string& path);
5252
5353 /* *
5454 * Reloads all shaders. This will reload the shaders of all plugins,
@@ -95,7 +95,7 @@ class RENDER_PIPELINE_DECL RenderPipeline: public RPObject
9595
9696 /* * See internal_set_effect. */
9797 void set_effect (NodePath& nodepath, const std::string& effect_src,
98- const Effect::OptionType& options=Effect::OptionType() , int sort=30);
98+ const Effect::OptionType& options={} , int sort=30 );
9999
100100 /* *
101101 * Prepares a given scene, by converting panda lights to render pipeline
0 commit comments