Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007138opensim[REGION] OpenSim Corepublic2014-04-27 09:212014-04-28 03:19
Reporteraiaustin 
Assigned To 
PrioritylowSeveritytweakReproducibilityN/A
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version8.1
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007138: scene console commands have non-uniform structure
DescriptionMost OpenSim console commands start off with the scope of the command and then the actual verb... but the scene commands have the verb first...

Scene Commands
rotate scene <degrees> - Rotates scene around 128,128 axis by x degrees where x=0-360.
scale scene <factor> - Scales all scene objects by a factor where original size =1.0.
translate scene <x,y,z> - Translate (move) the entire scene to a new coordinate. Useful for moving a scene to a different location on either a Mega or Variable region.

See http://opensimulator.org/wiki/Server_Commands#Scene_Commands [^]
TagsNo tags attached.
Git Revision or version numberr/24670
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows64
Mono VersionNone
ViewerN/ A
Attached Files

- Relationships

-  Notes
(0025915)
aiaustin (developer)
2014-04-27 09:33

The scene command in the OpenSim.exe console seems to be the main ones in a format that is unlike all the others.

But in the Robust console commands the "assets" commands likewise have the verb first and the scope "asset" second. But the Robust commands generally are a bit more non-uniform perhaps?
(0025916)
melanie (administrator)
2014-04-27 13:41

The commands are whatever the author thought best. We never did give out guidance but usually scope verb params... seems to be easier to work with. Unifying them is probably a good idea.
(0025917)
aiaustin (developer)
2014-04-28 02:04

Yes.. its not too big a deal as the wiki page and help in the consoles can be used to find them. But "uniformity" can help when using or assuming the commands and there are only a few that are not "regular" now.
(0025918)
dahlia (administrator)
2014-04-28 02:38

O.K., well I'm the author of these commands and yes I agree that they differ in grammatical form from some other commands, however they are not the only ones. A quick peek at the wiki page referenced in description of this issue shows many more commands that use verb-object form. I didn't count but a rough estimate shows around half of the commands listed use verb-object form.

I vaguely remember discussing this on IRC with other devs at the time and the consensus was to use verb-object as that was the preferred form going forward. If the current grammar becomes objectionable then it's not really that difficult to change it.
(0025919)
aiaustin (developer)
2014-04-28 03:19
edited on: 2014-04-28 03:20

Okay Dahlia... as I said its not a big issue. I think though the majority of region sim OpenSim.exe (non-Robust console) commands are in the form object verb.

You believe the preferred form is verb object when all the recent changes seem to have been to make things object verb. Even if nothing gets changed perhaps this is a good time to establish which way is "right" for new commands?


- Issue History
Date Modified Username Field Change
2014-04-27 09:21 aiaustin New Issue
2014-04-27 09:22 aiaustin Description Updated View Revisions
2014-04-27 09:23 aiaustin Description Updated View Revisions
2014-04-27 09:33 aiaustin Note Added: 0025915
2014-04-27 13:41 melanie Note Added: 0025916
2014-04-28 02:04 aiaustin Note Added: 0025917
2014-04-28 02:38 dahlia Note Added: 0025918
2014-04-28 03:19 aiaustin Note Added: 0025919
2014-04-28 03:20 aiaustin Note Edited: 0025919 View Revisions


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker