I suggest you try: trace(add_layer dbTransformPoint) to see what arguments are being passed to add_layer and then dbTransformPoint before it fails. Or use the debugger in the IDE... you can look at the variables at the point it errors, or you could put breakpoints beforehand to see what's going on. Maybe llInst and/or urInst are nil? Trying to guess what's wrong from badly formatted code with no test data is not particularly efficient. Regards, Andrew.
↧