bugpyFormex - Bugs: bug #45228, selectProp if there are no prop

 
 

bug #45228: selectProp if there are no prop

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  Mon 01 Jun 2015 12:54:36 PM UTC
   
 
Category:  Core Severity:  1 - Wish
Item Group:  Feature request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Jul 2016 10:37:49 AM UTC, comment #1: 

I suggest that when props are missing, the behavior would be as if all props are 0.

Benedict Verhegghe <bverheg>
Group administrator
Mon 01 Jun 2015 12:54:36 PM UTC, original submission:  

If an geometry object has no prop selectProp and cselectProp both return the full geometry. This can be confusing. I would expect to get an empty geometry in with selectProp() and a full geometry with the cselectProp(). In both cases I would also add a warning, because the method is actually not applicable.

Now it works like that:

geometry G has prop None
G.selectProp(2) -> G

geometry G has prop None
G.cselectProp(2) -> G


gianluca de santis <gianlucadesi>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code