Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    SelectionChanger not work after 10.1.1

    Scheduled Pinned Locked Moved SDK Help
    7 Posts 0 Posters 562 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 25/06/2007 at 02:15, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.1.1 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi. Some my plugins bacome work wrong after 10.1.1 update.
      Using debugger, I seen that SelectionChanger doesnt work anymore. Look this code

          
          
          
          
          SelectionChanger *SelChng = SelectionChanger::Alloc() ;
          
          
          
          
          BaseSelect *BSel = po->GetPointS() ;
          
          
          
          
          SelChng->InitFromSelection( BSel, Mpoints, obj) ;
          
          
          
          
          BaseSelect *selE = SelChng->GetEdgeS() ;
      

      Before 10.1.1 updete it worked well. But after selE gets absolutely same indices as BSel.
      i. e. SelectionChanger does not convert indices from point to edges anymore, but just copy them form points to edges 🙂

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 25/06/2007 at 02:19, xxxxxxxx wrote:

        My be I just making something wrong?
        If no, what can I do with it? Is there any way exept rewriting SelectionChanger by myself?

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 25/06/2007 at 07:14, xxxxxxxx wrote:

          I think you pass the wrong object to InitFromSelection. It should be the po pointer not obj.

          cheers,
          Matthias

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 25/06/2007 at 09:44, xxxxxxxx wrote:

            unfortunately no 😞
            It is same objects. I just got my code from different functions. Sorry for posting ambiguous code, but in my functions code is correst. "obj" and "po" points to same object, and both has type PolygonObject*
            Just check it by yourself.

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 25/06/2007 at 09:47, xxxxxxxx wrote:

              For assurance I wrote whole that code in one function, using one variable.
              And I got same result 😞

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 27/06/2007 at 01:55, xxxxxxxx wrote:

                I can confirm this now, looks like a bug. I reported it.

                cheers,
                Matthias

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 27/06/2007 at 06:54, xxxxxxxx wrote:

                  Thank you a lot.
                  ...
                  Is there any information about time when fix will release?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post