Changesets: DarkRadiant

master b4b79b00

02.02.2021 20:48

orbweaver


Details Diff
Test that entity updates when its entity class is modified

Confirm that a light entity captures a new wireframe shader in response to a
colour change on its entity class. Currently we can't confirm that it's the
*right* shader because the Shader interface doesn't expose that much (the
result of getMaterial() will be null because this is a built-in single-colour
shader rather than one derived from a material).
mod - test/Entity.cpp Diff File

master 859ed645

02.02.2021 20:05

orbweaver


Details Diff
Remove Light::worldOrigin()

For some reason this was a public virtual exposed on the RendererLight
interface despite not being used anywhere outside Light itself. Perhaps other
calls to this method were removed during recent renderer refactoring.
mod - include/irender.h Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - test/Entity.cpp Diff File

master c9fba2dd

01.02.2021 21:11

orbweaver


Details Diff
Test more RendererLight properties

Construct a light_torchflame_small instead of just a basic light, and confirm
that the AABB extents and origin match the values from the entity def, along
with the light shader.
mod - include/irender.h Diff File
mod - test/Entity.cpp Diff File

master df60c5f8

31.01.2021 21:18

orbweaver


Details Diff
Test rendered light entity has correct world origin

TestRenderableCollector now stores a list of RendererLight pointers rather than
just counting the lights submitted, and this list is used to confirm that the
"origin" key set on the test light entity appears correctly as the result of
worldOrigin().
mod - include/irender.h Diff File
mod - test/Entity.cpp Diff File

master 65a2ef3e

31.01.2021 20:59

orbweaver


Details Diff
Add a test for light source rendering

This test checks that the RenderableCollector::addLight() method has been
invoked after rendering a light entity in full materials mode.
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - test/Entity.cpp Diff File

master b14de84b

31.01.2021 20:08

orbweaver


Details Diff
Split RenderLightEntity into separate tests for selected/unselected

Split tests for better organisation and to avoid one test operating on an
object which has already been modified by an earlier test.
mod - test/Entity.cpp Diff File

master f05ee065

31.01.2021 18:12

greebo


Details Diff
0005266: More test cases, covering patches, brushes and model surfaces with one- and two-sided materials. Affected Issues
0005266
mod - test/Selection.cpp Diff File
mod - test/resources/tdm/maps/selection_test.map Diff File
mod - test/resources/tdm/maps/twosided_ivy.mapx Diff File
mod - test/resources/tdm/materials/twosided.mtr Diff File
add - test/resources/tdm/skins/selection_test.skin Diff File

master bf77456d

31.01.2021 17:28

orbweaver


Details Diff
Fix possible crash in shutting down selection system

When the selection system shuts down it clears out any remaining selected
nodes, which causes the SelectableNode destructor to unselect the node, which
then tries to call back into the selection system using Node::getSelf() which
finally results in a shared_from_this() being called from within the node's own
destructor, which shared_ptr really doesn't like.

This is resolved by having the selection system instruct any remaining selected
nodes to unselect themselves before clearing out the list, thus ensuring that
the same sequence happens before the node's destructor is invoked.
mod - radiantcore/selection/RadiantSelectionSystem.cpp Diff File
mod - test/Entity.cpp Diff File

master c9cbda76

31.01.2021 14:47

orbweaver


Details Diff
Add two new tests for entity selection

Test that selecting an entity propagates the selected node to the selection
system (which passes), and test that we can destroy a selected entity (which
currently fails due to trying to call shared_from_this() in a destructor).
mod - test/Entity.cpp Diff File

master a4a3ace8

31.01.2021 14:25

orbweaver


Details Diff
Add a simple test for rendering a light entity

Render the light entity in wireframe mode and confirm we receive the expected
number of renderables (origin diamond, radius and light_center depending on
selection status).
mod - include/irenderable.h Diff File
mod - test/Entity.cpp Diff File

master 235b1a9e

31.01.2021 08:10

greebo


Details Diff
0005266: Rearrange the SelectionTest fixture to OrthoViewSelectionTest and CameraViewSelectionTest, add test cases Affected Issues
0005266
mod - test/Selection.cpp Diff File

master f66f124e

31.01.2021 05:11

greebo


Details Diff
0005266: Move some camera matrix code to libs/render/CameraView.h, to be re-used by the unit test code. Affected Issues
0005266
add - libs/render/CameraView.h Diff File
mod - radiantcore/camera/Camera.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

master 6ed581fb

30.01.2021 21:29

orbweaver


Details Diff
AttachmentData now returns attachment offsets

SpawnArgs now calls validateAttachments() after the initial parse step, and the
forEachAttachment() method on AttachmentData now sets a valid offset vector on
the Entity::Attachment object, derived from looking up the named position in
the parsed key data.
mod - radiantcore/entity/AttachmentData.cpp Diff File
mod - radiantcore/entity/AttachmentData.h Diff File
mod - radiantcore/entity/SpawnArgs.cpp Diff File

master 5c98a884

30.01.2021 20:58

orbweaver


Details Diff
Add a new failing test for attachment offset

atdm:torch_brazier should have its flame at (0, 0, 10) based on the offset
value in the entityDef.
mod - test/Entity.cpp Diff File

master 2534e093

30.01.2021 20:46

orbweaver


Details Diff
Initial attachment parsing in SpawnArgs class

SpawnArgs now calls a new parseAttachments() method in its constructor, which
iterates over all keys (using the new 'includeInherited' parameter to
forEachKeyValue()) and parses them for possible attachment information. Current
version of CreateAttachedLightEntity test now passes.
mod - radiantcore/entity/AttachmentData.cpp Diff File
mod - radiantcore/entity/AttachmentData.h Diff File
mod - radiantcore/entity/SpawnArgs.cpp Diff File
mod - radiantcore/entity/SpawnArgs.h Diff File

master fd57c693

30.01.2021 20:20

orbweaver


Details Diff
CopySpawnargs test checks EntityKeyValue pointer identities

Copied SpawnArgs object should have same key value strings but different
EntityKeyValue object pointers.
mod - test/Entity.cpp Diff File

master 5c365636

30.01.2021 17:51

orbweaver


Details Diff
Merge math tests into a single test suite

Instead of four separate top-level test suites cluttering up the list, all of
the tests for Matrix, Plane, Quaternion and Vector are in a single MathTest
suite.
mod - test/math/Matrix4.cpp Diff File
mod - test/math/Plane3.cpp Diff File
mod - test/math/Quaternion.cpp Diff File
mod - test/math/Vector3.cpp Diff File

master 3a72848e

30.01.2021 13:22

orbweaver


Details Diff
Add libglib2.0-dev to debian/control

GLib is needed for the changes in RadiantApp to intercept and discard unwanted
GTK warning messages to console.
mod - debian/changelog Diff File
mod - debian/control Diff File

master 9a672a41

30.01.2021 07:31

greebo


Details Diff
0005266: Add two unit tests trying to select a twosided model surface in the XY top view, one model is facing up, one model is facing down. Affected Issues
0005266
mod - test/Selection.cpp Diff File
add - test/resources/tdm/maps/twosided_ivy.mapx Diff File
add - test/resources/tdm/materials/twosided.mtr Diff File
add - test/resources/tdm/models/twosided_ivy.lwo Diff File

master c96c1406

30.01.2021 04:15

greebo


Details Diff
0004791: Implement resource path selection for the ModelTreeView.
Since it is storing the skin paths and model paths in separate columns we need to override the base logic.
Affected Issues
0004791
mod - radiant/ui/modelselector/ModelTreeView.cpp Diff File
mod - radiant/ui/modelselector/ModelTreeView.h Diff File

master f48acb91

30.01.2021 04:14

greebo


Details Diff
0004791: Add another option to let client code decide which column the decl path is located in. Affected Issues
0004791
mod - libs/wxutil/dataview/ResourceTreeView.cpp Diff File
mod - libs/wxutil/dataview/ResourceTreeView.h Diff File

master dd4b98bf

30.01.2021 03:58

greebo


Details Diff
0004791: PopupMenu hides separators at the bottom of the menu Affected Issues
0004791
mod - libs/wxutil/menu/PopupMenu.cpp Diff File

master d82c943d

30.01.2021 03:39

greebo


Details Diff
0004791: Extend default ResourceTreeView context menu by a "Copy Resource Path" option, defaulting to fullPath, overridable by subclasses. Affected Issues
0004791
mod - include/version.h Diff File
mod - libs/wxutil/dataview/ResourceTreeView.cpp Diff File
mod - libs/wxutil/dataview/ResourceTreeView.h Diff File

master 39638da7

29.01.2021 20:38

orbweaver


Details Diff
Update debian scripts for 2.11.0 release
mod - debian/changelog Diff File
mod - debian/control Diff File

master 24d07207

29.01.2021 12:21

greebo


Details Diff
Bump version to 2.11.0
mod - CMakeLists.txt Diff File
mod - PKGBUILD Diff File
mod - include/version.h Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 159 160 161 162 163 164 165 ... 180 ... 210 ... 240 ... 261 262 263  Next  Last