change in 640/644 ?

Home Forums General Programming change in 640/644 ?

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

      hi atom,

      this doesn’t work since version 640 ex :

      [code:ki7vzkh9]function resize ()

      a=panel:getModulatorByName("modulator-4")
      b= a:getComponent()
      b:setPropertyString("componentRectangle", "0 0 0 0")

      end[/code:ki7vzkh9]

      was ok before

      thanks

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

        i think the response is in the demo graphic file.

        fantastic <img decoding=” title=”Smile” />

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

          i think it should all work, there might be some minor changes but the graphics demo shows a lot of stuff so have a look at that, if something is still not running let me know.

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

            strange, the simple example doesn’t work , like all the files created with anterior version

            attempt to call method "setPropertyString" ( a nil value)

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

              this produce no error but doesn"t work , same with setWidth, setHeight

              [code:2e1gwmbl]function resize ()

              c = panel:getModulatorByName("m3"):getComponent()

              if c~=nil then
              rect = c:getRect()

              rect:setSize (0,0)

              end
              end[/code:2e1gwmbl]

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

                it never should, the getRect() returns a new class called CtrlrLuaRectangle() that is just a description of the rectangle. you need to set the bounds to the component not the rectangle.

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

                  i ve tested the first exemple in v.621 all is OK. in 644 not i don t understand why <img decoding=:” title=”Question” />

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

                    it’s a bit my fault i changed the class registration and luabind didn’t catch all my changes, i’ll post a fix tomorrow.

                    #3042
                    Tronic
                    Participant
                      • Topics: 7
                      • Replies: 45
                      • Total: 52

                      With the latest stable version or nightly 649,
                      Loading the demo file, I always get errors related to Lua.
                      eg. Callback error: openFromFile and other errors.
                      <img decoding=” title=”Sad” />

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

                        yeah i fixed that it was a console() issue, next one will fix that.

                      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 76 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