Areloch
7eb71b531e
Merge pull request #2126 from Areloch/FixComponentEditorDisplay
...
Fixes the inspector/component editor to display components
2018-01-10 13:12:35 -06:00
Areloch
936f468b5d
Merge pull request #2059 from Bloodknight/SaharaUndo
...
#define AUTOPAINT_UNDO
2018-01-10 09:47:24 -06:00
Areloch
c74a7b1bc2
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
efbd5fb451
Merge pull request #2088 from Areloch/EditorTool
...
Initial implementation of the EditorTool class and world editor hook-in.
2017-10-11 12:00:21 -05:00
Areloch
eec61ce1b9
Initial implementation of the EditorTool class and world editor hook-in.
2017-09-21 00:10:44 -05:00
Areloch
b7870c33f8
Sets the default grid snap size to 1 rather than 10. 1 Seems like a more neutral default value, and also makes it match the displayed '1' in the UI interface as the default as well.
2017-09-17 18:24:44 -05:00
Marc Chapman
82a1f4d942
Merge branch 'feature/SaharaUndo' into SaharaUndo
2017-07-30 11:26:21 +01:00
Areloch
0801a3cca8
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
Masquara
970dd5c477
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Azaezel
f1d315d51a
adds an atGizmo option - for now drops a new object at a given singular mesh position. TODO: at the center of a given group.
2017-02-26 18:34:32 -06:00
Azaezel
1458494b2a
applies mUseGroupCenter checks across the board
2017-02-22 15:49:26 -06:00
Azaezel
ebdd441833
adds a useGroupCenter var/button to allow folks to use non-itterative snapping, and defaults it to do so (maintains prior functionality envelope)
2017-02-22 14:31:26 -06:00
Azaezel
7d2315c781
sets snap to grid to itterate through selected objects and settle them into the nearest (seected value), ie 1, 2.5, 3.33 ect.
2017-02-22 00:36:53 -06:00
Thomas "elfprince13" Dickerson
27e2871b01
Replaced StringTable->insert("") with StringTable->EmptyString()
2017-01-11 23:36:04 -05:00
Thomas "elfprince13" Dickerson
bcc5459818
whitespace
2017-01-11 23:34:46 -05:00
Areloch
eb2d3a908a
Tweaked the naming convention to a) be more in line with the prefab creation functions, and b) avoid common artist terminologies that may lead to confusion on what it does.
2016-12-11 23:02:13 -06:00
Areloch
1d754cbbad
Makes it so prefabs can correctly 'export to collada' by running the buildPolyList function on it's children.
...
Also adds a 'Bake Selection to Mesh' option to the tools menu in the editor to export the selected mesh to a collada file, and then replaces the selection with a TSStatic.
2016-12-10 17:27:27 -06:00
Areloch
3ab2f98ec3
Fixes up some erroneous behavior with Simgroup parentage.
...
Fixes Prefab creation handling of SceneObjects and SimGroups.
Fixes SceneObjects where the default icon incorrectly defaulted to the simgroup folder rather than the generic class object when the class has no specific class icon.
2016-10-26 00:49:05 -05:00
Anis
60e258e5a9
Merge pull request #1806 from Azaezel/byeByeVarVar2
...
more unused variable cleanups
2016-10-23 21:04:36 +02:00
Azaezel
1ee127b753
more unused variable cleanups
2016-10-16 14:41:34 -05:00
Azaezel
fbfd3ed8ed
clang: constructor initialization order
...
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
James Urquhart
f91aa639d6
Remove projection offset, add the hmd head matrix. Also tidy up a few things.
2016-09-11 22:42:42 +01:00
Marc Chapman
56691e1f62
Added undo define and checks
2016-07-29 17:14:59 +01: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
6a40b8bb84
Merge pull request #1559 from rextimmy/dx11_clean
...
Direct3D11 Support
2016-03-29 00:51:23 -05:00
Anis
935bddca35
Merge pull request #1556 from Azaezel/splineSpelunking
...
Path editor display augmentations.
2016-03-22 12:57:49 +01:00
rextimmy
41e5caf22b
Direct3D11 Engine/source changes
2016-03-20 21:52:11 +10:00
Robert MacGregor
d6226a71ca
Fix NULL pointer deref crashes in WorldEditor::selectObject & WorldEditor::unSelectObject
2015-12-02 01:47:29 -05:00
Azaezel
1c23583fba
world editor spline lerp display. advancedist controls size between steps. highlighted the tip of the arrows
2015-11-02 15:12:49 -06:00
Areloch
165cdb64e9
Merge pull request #1322 from Areloch/String_isEmpty_Convert
...
Replace uses of dStrIsEmpty with new String::isEmpty
2015-10-31 23:40:13 -05:00
Areloch
3a18819e1e
Issue found by PVS Studio:
...
Several instances where we utilize a pointer variable without properly testing that they aren't null first.
2015-07-28 23:25:09 -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
Daniel Buckmaster
4f2f1ca4e1
Merge pull request #1356 from Areloch/PVS_Cleanup_813
...
Convert un-modified function arguments to const references.
2015-07-20 22:55:22 +10:00
Daniel Buckmaster
c2e5dc3345
Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development
...
Conflicts:
Engine/source/T3D/shapeBase.h
2015-07-17 16:55:12 +10:00
Areloch
11398bb04e
Issue found with PVS-Studio:
...
A lot of instances where some function args are not actually modified in any way, meaning that it is better for performance to convert them into const references. This prevents an additional copy, which can help performance.
2015-07-16 22:02:18 -05:00
Daniel Buckmaster
86e0e67496
Merge pull request #1352 from Areloch/PVS_Cleanup_807
...
Unnecessarily repeated expressions
2015-07-16 15:45:32 +10:00
Areloch
5c688260d5
Issue found with PVS-Studio:
...
Many places utilize post-incrementation with iterators, but it's better performance to use pre-incrementation.
Resolved by changing the iter++ instances to ++iter;
2015-07-13 23:08:17 -05:00
Areloch
2002d74b78
Issue found with PVS-Studio:
...
Many instances of a function or expression being used repeatedly, which can lower performance.
Fixed it in these cases by creating on local var, reference or pointer that's used instead.
2015-07-13 22:51:17 -05:00
Areloch
6e8fa7215a
Moves from using dStrIsEmpty to the new String::isEmpty static function. Keeps things cleaner, consistent, and works with intellisense.
2015-06-06 17:40:49 -05:00
Ben Payne
62fa40380b
Fixes for "incomplete type" errors when compiling with clang-cl
2015-03-04 19:10:56 -05:00
Ben Payne
0ffd7f5620
Fix member vars left uninitialized in constructors
2015-02-20 18:41:51 -05:00
Nathan Bowhay
4f87422392
Added console method docs and removed function
...
Added a ton of console method documenation and removed
getSelectionCentroidText when you can just use a Point3F as the return
type.
2015-02-02 16:27:03 -08:00
Nathan Bowhay
1ce846d235
add & delete object documentation
...
added add & delete object console method documentation.
2015-02-02 16:07:15 -08:00
Nathan Bowhay
72a0aed154
Some small console method docs
...
Added a little documentation to a console method.
2015-02-02 16:04:50 -08:00
Daniel Buckmaster
f9cd778b3b
Fixed tricky overloaded sfx* functions.
2014-12-24 10:04:44 +11: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
Daniel Buckmaster
03f71a78c0
Added dStrIsEmpty and replaced some incorrect string comparisons.
2014-12-21 21:25:19 +11:00
Daniel Buckmaster
9396ae7176
Merge remote-tracking branch 'Winterleaf/Development-Console' into defineconsolemethod
...
Conflicts:
Engine/source/T3D/missionMarker.cpp
2014-12-21 21:23:55 +11:00
LuisAntonRebollo
07b0ea9ca6
Merge pull request #927 from BeamNG/setupgenericshader
...
Add GFXDevice::setupGenericShader for fix render on non FFP.
2014-11-30 02:22:13 +01:00
LuisAntonRebollo
1c95ce21d6
Merge pull request #608 from BeamNG/use_gfxdevice_setupgenericshaders
...
Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines.
2014-11-30 02:20:00 +01:00