Ignore:
Timestamp:
02/10/14 20:13:23 (11 years ago)
Author:
sz
Message:

bug fixed: all param items having GETONLY accessor must also have PARAM_READONLY flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/classes/3dobject.cpp

    r121 r127  
    225225{"zz",1,PARAM_NOSTATIC,"orientation.z.z","f",FIELD(o.z.z),},
    226226
    227 {"x",0,PARAM_NOSTATIC,"x vector","oXYZ",GETONLY(x),},
    228 {"y",0,PARAM_NOSTATIC,"y vector","oXYZ",GETONLY(y),},
    229 {"z",0,PARAM_NOSTATIC,"z vector","oXYZ",GETONLY(z),},
     227{"x",0,PARAM_NOSTATIC+PARAM_READONLY,"x vector","oXYZ",GETONLY(x),},
     228{"y",0,PARAM_NOSTATIC+PARAM_READONLY,"y vector","oXYZ",GETONLY(y),},
     229{"z",0,PARAM_NOSTATIC+PARAM_READONLY,"z vector","oXYZ",GETONLY(z),},
    230230
    231231{"new",0,0,"create new Orient object","p oOrient()",PROCEDURE(p_new),},
Note: See TracChangeset for help on using the changeset viewer.