Areloch
4e31deb94d
Allows special inspectorFields to override the height they use in the rollouts
2019-02-23 16:08:47 -06:00
suncaller
8a7c09c8fe
Clean up redundant variables
2019-02-06 15:03:06 -05:00
Lukas Joergensen
0fff33869c
Eliminate unnecessary uses of ConsoleMethod
2018-04-17 22:36:32 +02:00
Lukas Joergensen
76908eae3c
Eliminate DefineConsoleMethod
2018-04-17 21:01:50 +02:00
Areloch
abe4370c8a
Some code cleanup, tweak and optimizations for assets, entities and components.
2018-02-04 16:21:07 -06:00
Areloch
b9adeb0f28
Corrects the clearFields function of the variableInspector and enables the callback field support.
2018-02-01 01:51:51 -06:00
Areloch
727592d63a
Small fixes to the inspector, and added the ability for the variableInspector to process command and filename field types.
2018-01-28 15:12:02 -06:00
Areloch
b5277e0f08
Fixes the inspector/component editor to display the components attached to an entity correctly in the inspector.
2017-12-03 01:21:30 -06:00
Areloch
0c21ef1b45
Removes Entity/Component stuff from being behind an experimental flag.
2017-10-15 06:03:59 -05:00
Areloch
629a25185d
Updates the VariableInspector, VariableGroup and VariableField objects to actually be useful. In addition to the original functionality of being able to have a var name passed in and search for all vars with that in it, it also lets you build out a completely custom Inspector.
...
Unlike the regular Inspector, which requires a specific object or objects, from which the fields are pulled from, this lets you manually create fields, which can tie into any given object and their fields, global vars, and also not only supports the engine types for fields, but also triggers a callback to script if a field type is not found allowing fully custom fields to be handled as needed.
2017-09-21 02:49:36 -05:00
Masquara
15f67015d3
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Areloch
6ec899620d
Tweak to the Component Fields to properly refresh the group.
2016-06-02 23:57:46 -05:00
Areloch
89672ea0ab
Hooks the component fields back into the inspector so they are registered as proper fields of their types, as opposed to the regular string-only dynamic fields.
2016-06-02 22:40:29 -05:00
Areloch
74a2005d15
Fixes mistake where GuiInspectorEntityGroup's onAdd doesn't explicitly return true, which can cause problems in some compilers.
2016-05-30 02:29:20 -05:00
Areloch
510b726f6f
Final Linux compliance changes(renames, tweaks for gcc compliance, etc)
2016-05-29 00:58:02 -05:00
Areloch
ec8882c3c8
Ensuring all names are the correct casing for Linux
2016-05-26 01:37:14 -05:00
Areloch
827e70d674
Integration of Entities into the inspector/editor so they can call back into the tool scripts for custom handling.
2016-05-14 14:12:53 -05:00
Areloch
383d27f2ec
The class is designed as a general-purpose rotation/orientation class to make it easy to work with rotations and swap between math types as easily as possible.
2016-05-12 00:45:16 -05:00
Areloch
527c3790d6
Issue found with PVS-Studio:
...
Many instances where we would create a object via a new call, and then check that it was non-null.
This is redundant, as if we ever were in a situation where new failed, we'd be crashing left and right already, so the additional check is wasted processing.
2015-07-21 23:22:21 -05:00
James Urquhart
f44a3f27d6
Fix stack balancing problems by refactoring execution calls
...
- Con::executef now uses a template
- All public execution functions now restore the console stack upon return
- Fixed bad parameters on some callbacks
- Reverts get*Arg behavior
2015-02-08 00:08:18 +00:00
Daniel Buckmaster
3ab048c5b0
Fixes after feedback from Luis.
...
* Made use of dStrIsEmpty in more locations (and fixed it :P)
* Removed commented-out code
* Corrected default params
* Fixed some console warning formats
* Removed tabs
* Corrected setExtent API
2014-12-23 18:48:02 +11:00
Vincent Gee
acb192e2a5
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
2014-11-03 22:42:51 -05:00
LuisAntonRebollo
18ba0646c0
Increased stability Torqu3D: unit-tests running without a crash. See the console.log after ran unitTest_runTests( "", true ). @signmotion
2014-05-25 16:50:19 +02:00
Cameron Porter
91c058ca8a
When setting the field on a GuiInspectorField, check if the field is null before setting the docs.
2013-12-10 23:42:07 -06:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00