Route UI leaf render state through GL dispatch
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
#include "node_panel_animation.h"
|
||||
#include "app_core/document_animation.h"
|
||||
#include "legacy_document_animation_services.h"
|
||||
#include "legacy_ui_gl_dispatch.h"
|
||||
#include "node_button.h"
|
||||
#include "node_button_custom.h"
|
||||
#include "renderer_gl/opengl_capabilities.h"
|
||||
#include "canvas.h"
|
||||
|
||||
Node* NodePanelAnimation::clone_instantiate() const
|
||||
@@ -308,7 +308,7 @@ void NodeAnimationTimeline::draw()
|
||||
{
|
||||
parent::draw();
|
||||
ShaderManager::use(kShader::Color);
|
||||
glDisable(pp::renderer::gl::blend_state());
|
||||
pp::legacy::ui_gl::set_blend_enabled(false, "NodeAnimationTimeline");
|
||||
|
||||
float step = 35.f;
|
||||
glm::vec2 cur_pos = {
|
||||
|
||||
Reference in New Issue
Block a user