mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-13 07:10:47 +02:00
Re-enabled all filter nodes.
This commit is contained in:
parent
95a542057a
commit
3283f1d649
@ -136,28 +136,28 @@ sources = [
|
||||
"nodes/gradient/gradient.cpp",
|
||||
"nodes/gradient/circular_gradient.cpp",
|
||||
|
||||
#"nodes/filter/tonality.cpp",
|
||||
#"nodes/filter/swap_channels.cpp",
|
||||
#"nodes/filter/quantize.cpp",
|
||||
#"nodes/filter/math.cpp",
|
||||
#"nodes/filter/make_tileable.cpp",
|
||||
#"nodes/filter/invert.cpp",
|
||||
#"nodes/filter/greyscale.cpp",
|
||||
#"nodes/filter/fill_to_uv.cpp",
|
||||
#"nodes/filter/fill_to_size.cpp",
|
||||
#"nodes/filter/fill_to_random_grey.cpp",
|
||||
#"nodes/filter/fill_to_random_color.cpp",
|
||||
#"nodes/filter/fill_to_position.cpp",
|
||||
#"nodes/filter/fill_to_color.cpp",
|
||||
#"nodes/filter/fill_channel.cpp",
|
||||
#"nodes/filter/emboss.cpp",
|
||||
#"nodes/filter/decompose.cpp",
|
||||
#"nodes/filter/combine.cpp",
|
||||
#"nodes/filter/colorize.cpp",
|
||||
#"nodes/filter/brightness_contrast.cpp",
|
||||
#"nodes/filter/blur_gaussian.cpp",
|
||||
#"nodes/filter/blend.cpp",
|
||||
#"nodes/filter/adjust_hsv.cpp",
|
||||
"nodes/filter/tonality.cpp",
|
||||
"nodes/filter/swap_channels.cpp",
|
||||
"nodes/filter/quantize.cpp",
|
||||
"nodes/filter/mm_math.cpp",
|
||||
"nodes/filter/make_tileable.cpp",
|
||||
"nodes/filter/invert.cpp",
|
||||
"nodes/filter/greyscale.cpp",
|
||||
"nodes/filter/fill_to_uv.cpp",
|
||||
"nodes/filter/fill_to_size.cpp",
|
||||
"nodes/filter/fill_to_random_grey.cpp",
|
||||
"nodes/filter/fill_to_random_color.cpp",
|
||||
"nodes/filter/fill_to_position.cpp",
|
||||
"nodes/filter/fill_to_color.cpp",
|
||||
"nodes/filter/fill_channel.cpp",
|
||||
"nodes/filter/emboss.cpp",
|
||||
"nodes/filter/decompose.cpp",
|
||||
"nodes/filter/combine.cpp",
|
||||
"nodes/filter/colorize.cpp",
|
||||
"nodes/filter/brightness_contrast.cpp",
|
||||
"nodes/filter/blur_gaussian.cpp",
|
||||
"nodes/filter/blend.cpp",
|
||||
"nodes/filter/adjust_hsv.cpp",
|
||||
]
|
||||
|
||||
if env["tools"]:
|
||||
|
@ -130,7 +130,6 @@ SOFTWARE.
|
||||
#include "nodes/gradient/gradient.h"
|
||||
#include "nodes/gradient/radial_gradient.h"
|
||||
|
||||
/*
|
||||
#include "nodes/filter/adjust_hsv.h"
|
||||
#include "nodes/filter/blend.h"
|
||||
#include "nodes/filter/blur_gaussian.h"
|
||||
@ -149,11 +148,10 @@ SOFTWARE.
|
||||
#include "nodes/filter/greyscale.h"
|
||||
#include "nodes/filter/invert.h"
|
||||
#include "nodes/filter/make_tileable.h"
|
||||
#include "nodes/filter/math.h"
|
||||
#include "nodes/filter/mm_math.h"
|
||||
#include "nodes/filter/quantize.h"
|
||||
#include "nodes/filter/swap_channels.h"
|
||||
#include "nodes/filter/tonality.h"
|
||||
*/
|
||||
|
||||
static _MMAlgos *_mm_algos_singleton = nullptr;
|
||||
|
||||
@ -328,7 +326,6 @@ void register_material_maker_types() {
|
||||
ClassDB::register_class<MMCircularGradient>();
|
||||
MMAlgos::register_node_class("Gradient", "MMCircularGradient");
|
||||
|
||||
/*
|
||||
ClassDB::register_class<MMTonality>();
|
||||
MMAlgos::register_node_class("Filter", "MMTonality");
|
||||
ClassDB::register_class<MMSwapChannels>();
|
||||
@ -373,7 +370,7 @@ void register_material_maker_types() {
|
||||
MMAlgos::register_node_class("Filter", "MMBlend");
|
||||
ClassDB::register_class<MMAdjustHsv>();
|
||||
MMAlgos::register_node_class("Filter", "MMAdjustHsv");
|
||||
*/
|
||||
|
||||
_mm_algos_singleton = memnew(_MMAlgos);
|
||||
Engine::get_singleton()->add_singleton(Engine::Singleton("MMAlgos", _MMAlgos::get_singleton()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user