https://linen.dev logo
Join Discord
Powered by
# ceramic
  • a

    ambitious-knife-25690

    03/03/2023, 12:35 AM
    Windowing almost fully works now as well, there's some bugs in places
  • b

    billowy-waiter-28954

    03/03/2023, 10:58 AM
    @ambitious-knife-25690 Something you should be aware of when using filters is that antialiasing is disabled by default on content rendered on render textures
  • b

    billowy-waiter-28954

    03/03/2023, 10:58 AM
    (maybe that's not really an issue as far as haxeui is concerned though)
  • b

    billowy-waiter-28954

    03/03/2023, 10:59 AM
    But if you want to have the same antialiasing setting of the main screen
  • b

    billowy-waiter-28954

    03/03/2023, 10:59 AM
    you can do
    filter.antialiasing = settings.antialiasing;
  • b

    billowy-waiter-28954

    03/03/2023, 11:00 AM
    (of course antialiasing everywhere = performance penalty)
  • a

    ambitious-knife-25690

    03/03/2023, 11:13 AM
    Thanks for the tip! I think I'll expose that as a Toolkit option
  • a

    ambitious-knife-25690

    03/03/2023, 6:53 PM
    @billowy-waiter-28954would you consider returning `true`/`false` or the index for this
  • a

    ambitious-knife-25690

    03/03/2023, 6:53 PM
    because you catch the error i can't redirect it
  • a

    ambitious-knife-25690

    03/03/2023, 6:53 PM
    for
    visual.remove
  • b

    billowy-waiter-28954

    03/03/2023, 7:07 PM
    Why do you need that info? You can always check if child.parent is the visual you want to call remove() on
  • a

    ambitious-knife-25690

    03/03/2023, 7:11 PM
    How do i know if i need to check a parent with a void return
  • a

    ambitious-knife-25690

    03/03/2023, 7:12 PM
    the application can't read console messages 😅
  • a

    ambitious-knife-25690

    03/03/2023, 7:14 PM
    oh, i see what you mean
  • a

    ambitious-knife-25690

    03/03/2023, 7:14 PM
    lol
  • a

    ambitious-knife-25690

    03/03/2023, 7:14 PM
    i just woke up from a nap 😅
  • a

    ambitious-knife-25690

    03/03/2023, 7:19 PM
    unless parent is null, but, i don't really know why pparent would be null
  • b

    billowy-waiter-28954

    03/03/2023, 11:34 PM
    parent is null if the visual has no parent
  • a

    ambitious-knife-25690

    03/03/2023, 11:42 PM
    from haxeui's side this doesn't make sense because things are added to a visual or scene
  • a

    ambitious-knife-25690

    03/03/2023, 11:42 PM
    so I'm a bit confused there
  • b

    bright-gpu-74537

    03/04/2023, 7:14 AM
    if a component has no parentComponent (ie, its null) then its top level... like ceramic
  • b

    billowy-waiter-28954

    03/04/2023, 9:28 AM
    I’m confused, I don’t really understand what’s the issue with add() method in Ceramic
  • b

    bright-gpu-74537

    03/04/2023, 9:29 AM
    ¯\_(ツ)_/¯
  • a

    ambitious-knife-25690

    03/04/2023, 9:36 AM
    if there's no parentComponent I add to the scene
  • b

    bright-gpu-74537

    03/04/2023, 9:37 AM
    OK, i dont know the is and outs of the backend, im just saying that "parentComponent as null" is a thing, and it basically means its a root component (as i think cermics display tree means)
  • b

    bright-gpu-74537

    03/04/2023, 9:37 AM
    does that even make sense? I mean, where is this "if parentComponent == null" check?
  • a

    ambitious-knife-25690

    03/04/2023, 9:39 AM
    in handleAddComponent
  • b

    bright-gpu-74537

    03/04/2023, 9:40 AM
    parentComponent should never be null in there, even if it is, its just an ordering thing... but handleAddComponent is called on the parent... so the child cant be a root component
  • b

    bright-gpu-74537

    03/04/2023, 9:41 AM
    Screen.instance.addComponent should be the call where you add it to the main scene (or wherever)
  • a

    ambitious-knife-25690

    03/04/2023, 9:43 AM
    huh looks like I added that as well
1...929394...124Latest