componentVisibility problem

Home Forums General Programming componentVisibility problem

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #403
    netchose
    Participant
      • Topics: 15
      • Replies: 70
      • Total: 85

      hi,

      this property appear twice : in modulator and component ,and this create a conflict

      #3087
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        if you have the "componentVisibility" set in the modulator, you set it there Ctrlr is not to blame here, this property is set only on the Component never on the modulator (modulator is a low level class that has no GUI representation itself have a look at the api/)

        #3088
        netchose
        Participant
          • Topics: 15
          • Replies: 70
          • Total: 85

          ok i v’e found the PB :

          it was a probalem of "" : without the "" for the walue sometime it works

          #3089
          netchose
          Participant
            • Topics: 15
            • Replies: 70
            • Total: 85

            try this :

            new panel
            add modulator
            set componentVisibility to 0
            save the file
            close the panel
            open the panel

            => the modulator is visible and componentVisibility =0

            i have found a something to correct this in my construction panel script.
            =>set all visibilty to 1 before set to 0

            #3090
            netchose
            Participant
              • Topics: 15
              • Replies: 70
              • Total: 85

              hi,

              with revison 671 when you are in edit mode, all modulators are visible (componentVisibility ok or not) which is for me a bigger problem

              like you can see :mrgreen:

              [attachment=0:2nx9solu]visible.png[/attachment:2nx9solu]

              #3091
              Filch
              Participant
                • Topics: 22
                • Replies: 173
                • Total: 195
                • ★★

                Whoa!!!! hahahah

                #3092
                atom
                Keymaster
                  • Topics: 159
                  • Replies: 2945
                  • Total: 3104
                  • ★★★★★

                  well i wanted to make them visible in edit mode, i can add an option for the amount of opacity i’ll do that asap.

                  #3093
                  netchose
                  Participant
                    • Topics: 15
                    • Replies: 70
                    • Total: 85

                    the problem is still there in 693 :

                    alpha for invisible component in edit mode doesn’t work

                    thanks for your help

                    #3094
                    atom
                    Keymaster
                      • Topics: 159
                      • Replies: 2945
                      • Total: 3104
                      • ★★★★★

                      I just re-checked it and it works for me, an invisible component has the opacity that is set in the panel property "Alpha for invisible components in edit mode", you might need to enter/exit edit mode but it should work.

                      #3095
                      netchose
                      Participant
                        • Topics: 15
                        • Replies: 70
                        • Total: 85

                        look my panel you will see

                        [attachment=0:2l3v9eh8]test.zip[/attachment:2l3v9eh8]

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • The forum ‘Programming’ is closed to new topics and replies.
                      There is currently 0 users and 74 guests online
                      No users are currently active
                      Forum Statistics
                      Threads: 2,495, Posts: 17,374, Members: 77,605
                      Most users ever online was 12 on January 22, 2019 3:47 pm
                      Ctrlr