mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-14 22:43:53 +01:00
[HLSL] Manual compile now force render the node.
This commit is contained in:
parent
933dab87ec
commit
af9866c0d0
@ -225,7 +225,10 @@ void main(in VertexShaderOutput _input, out PixelShaderOutput output) {
|
||||
insp1UpdateTooltip = __txt("Compile");
|
||||
insp1UpdateIcon = [ THEME.refresh_icon, 1, COLORS._main_value_positive ];
|
||||
|
||||
static onInspector1Update = function() { refreshShader(); }
|
||||
static onInspector1Update = function() {
|
||||
refreshShader();
|
||||
triggerRender();
|
||||
}
|
||||
|
||||
static step = function() { argument_renderer.showValue = input_display_list[9][1]; }
|
||||
|
||||
|
@ -297,7 +297,7 @@ function Panel_Collection() : PanelContent() constructor {
|
||||
}
|
||||
|
||||
if(_node.path == updated_path && updated_prog > 0)
|
||||
draw_sprite_stretched_ext(THEME.node_glow_border, 0, _boxx - 9, yy - 9, grid_size + 18, grid_size + 18, COLORS._main_value_positive, updated_prog);
|
||||
draw_sprite_stretched_ext(THEME.node_bg, 0, _boxx, yy, grid_size, grid_size, COLORS._main_value_positive, updated_prog);
|
||||
|
||||
if(variable_struct_exists(_node, "getSpr")) _node.getSpr();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user