SelectionChanger not work after 10.1.1



  • 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 :)



  • 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?



  • 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



  • 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.



  • 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 :(



  • 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



  • 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?


Log in to reply