bugpyFormex - Bugs: bug #38312, reNumberElems (reorder) on elems...

 
 

bug #38312: reNumberElems (reorder) on elems without prop

Submitted by:  Wouter Devriendt <whdvrien>
Submitted on:  Tue 12 Feb 2013 10:07:12 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 12 Feb 2013 01:15:50 PM UTC, comment #1:

Fixed in commit 6549204

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Tue 12 Feb 2013 10:07:12 AM UTC, original submission:

reorder (=reNumberElems) does not work on meshes or trisurfaces without properties, due to the return of "prop=self.prop[order]".

An easy solution would be to assign property 0 to all elems when geometry.getProp() = None.

Adding the following in the function reorder in mesh.py (just before the return) works, with as only drawback that properties get assigned to the reordered geometry.

An other solution would be to write two returns, for example

Wouter

Wouter Devriendt <whdvrien>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by whdvrien (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Feb 2013 01:15:50 PM UTCbverhegCategoryNone=>Core
      Item GroupNone=>Functionality error
      StatusNone=>Fixed
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1