Commit Graph

60 Commits

Author SHA1 Message Date
Andrew Rodham
58107d1db2 Sequencer settings are now stored per sequencer-type
[CL 2607255 by Andrew Rodham in Main branch]
2015-07-01 06:06:21 -04:00
Matt Kuhlenschmidt
55de9b6526 Sub-movie scene work
-Sub-movie scenes and shots can now be properly deleted
-Sub-movie scenes now properly update their spawnables when they are created/deleted
-Movie scene instances now have a chance to clean up their inner movie scene data when they are removed
-Movie scene shot tracks now properly evaluate any inner tracks they have
-Movie scene sections are now evaluated at t=0 instead of being skipped due to TRange not working if both start and end time are zero

[CL 2605023 by Matt Kuhlenschmidt in Main branch]
2015-06-29 20:59:21 -04:00
Matt Kuhlenschmidt
ea6db7edaf Backend improvements to the Shot workflow in Sequencer. UI still needs improvement
- Creating a new shot will now create a new sub-movie scene with a shot name and number
- Refactored shot playback in the editor so that it properly sends the correct data to the level viewport being previewed
- Shot tracks are no longer considered a master track.  Each movie scene has a dedicated shot track that is created if needed.  Only the root movie scene shot track is updated at runtime however

[CL 2604023 by Matt Kuhlenschmidt in Main branch]
2015-06-29 11:07:33 -04:00
Max Chen
374b59134e Sequencer: Get actor name for outliner display.
[CL 2599359 by Max Chen in Main branch]
2015-06-24 14:58:37 -04:00
Max Preussner
9927a96cbb MovieScene: Renamed module; reorganized files.
[CL 2597352 by Max Preussner in Main branch]
2015-06-23 12:47:53 -04:00
Simon Tovey
149ff75b67 Added a new, alternate UI to the Niagara effect editor. Accesible as a new tab under the windows menu.
This arranges all emitters in an SDetailView with some customization.
Primary benefit of this is that hooking things into the UI will require almost no work and elements can still be customized for a good UX.
Previous UI is still available and should work exactly as before.

Quite a bit of refactoring was needed to acheive this but much of it was needed for other things anyway and/or has some nice additonal benefits.
E.g.
- All constant types are supported easily.
- You can now create a default data object in the graph which will propagate through to the effect editor.
- Adding new data object types will be very easy.

Also added a delete and duplicate button for emitters in both UIs.

#codereview olaf.piesche

[CL 2590057 by Simon Tovey in Main branch]
2015-06-17 10:12:41 -04:00
Olaf Piesche
0bd22cbcfd Niagara: proper serialization of data objects; couple of bug fixes
[CL 2587782 by Olaf Piesche in Main branch]
2015-06-15 15:51:40 -04:00
Olaf Piesche
f33169806f Niagara: embedded sequencer timeline in the effect editor, with lifetime editing for emitters; basic lifetime management for emitters in the backend;
#codereview simon.tovey

[CL 2581685 by Olaf Piesche in Main branch]
2015-06-09 15:43:55 -04:00
Stephan Delmer
e168efa439 Remove pragma once from NiagaraSequencer.cpp to fix non unity on mac CIS error.
#UE4

[CL 2577986 by Stephan Delmer in Main branch]
2015-06-04 22:05:52 -04:00
Olaf Piesche
5d9207a492 Fix for compile error.
[CL 2576267 by Olaf Piesche in Main branch]
2015-06-03 17:46:01 -04:00
Olaf Piesche
0937a4513f Niagara: first pass embedded sequencer timeline
[CL 2575821 by Olaf Piesche in Main branch]
2015-06-03 13:34:28 -04:00
Simon Tovey
9a40e91fa0 Compile fix
[CL 2558734 by Simon Tovey in Main branch]
2015-05-20 10:19:39 -04:00
Simon Tovey
da751ac605 Support for Cut/Copy/Paste, Duplicate and Select All in Niagara graphs.
Plus better support for Undo/Redo.

#codereview Olaf.Piesche

[CL 2556699 by Simon Tovey in Main branch]
2015-05-19 06:36:01 -04:00
Simon Tovey
5c2f5c86e3 Various UI improvements for the graph editor.
- Pins now auto wire to new nodes created when draging from a pin.
- Better error reporting and ability to fail compilation. Still WIP.
- Added new pin context menu for breaking existing links.
- Better Undo/Redo behavior.
- Title of input nodes is now "Input" rather than the attirubte/constant they retrieived.

#codereview Olaf.Piesche

[CL 2552433 by Simon Tovey in Main branch]
2015-05-15 07:50:13 -04:00
Olaf Piesche
888f5f5961 Niagara fixes:
- much improved noise, should be more or less divergence free now
- sin/cos/tan now have a full period within [0:1]
- added a Divide node

[CL 2551525 by Olaf Piesche in Main branch]
2015-05-14 18:00:40 -04:00
Olaf Piesche
9e8a1335f9 Niagara:
- Fixing two potential crashes on compiling scripts and changing materials of effects that exist in the world
- Disabling rendering (not just ticking) of disabled emitters

[CL 2545514 by Olaf Piesche in Main branch]
2015-05-11 11:29:01 -04:00
Olaf Piesche
89375030fe Moved Niagara to its own module; made curve access work; fixed various small things
#codereview simon.tovey

[CL 2510645 by Olaf Piesche in Main branch]
2015-04-13 15:25:14 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Simon Tovey
0180d8576e - 1st pass function calls in Niagara. Function call nodes link to other scripts. The graphs from those scripts are merged into the main graph and everything is compiled as normal.
- Refactored NiagaraSimulation.cpp a little and removed the requirement for Spawn and Update graphs to have the same attributes.
- Changed colour of attribtues to Green so that function calls could be Blue. Changed Systems Constant nodes to be White.
- Fixed a bug with the Lerp operation.

#codereview Olaf.Piesche

[CL 2506851 by Simon Tovey in Main branch]
2015-04-09 11:27:52 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Olaf Piesche
2dd94d0b5f Niagara; first pass buffer write, curve data object, curve data editor in the effect editor
[CL 2494172 by Olaf Piesche in Main branch]
2015-03-27 14:18:23 -04:00
Mikolaj Sieluzycki
fa01cacb6c Trim down the amount of UObject constructors.
#codereview Robert.Manuszewski

[CL 2429641 by Mikolaj Sieluzycki in Main branch]
2015-02-03 05:40:57 -05:00
Ben Marsh
8907c93c99 [INTEGRATE] Change 2420282 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/27 09:38:23
Fix very slow compile times in Slate widgets (~75% faster compile times in Development Win64)
	- Important:  BEGIN_SLATE_FUNCTION_BUILD_OPTIMIZATION only works at global scope on MSVC, not within classes (it silently does nothing)
	#codereview nick.atamas

[CL 2425715 by Ben Marsh in Main branch]
2015-01-30 10:13:53 -05:00
Ben Marsh
bf75048443 [INTEGRATE] Change 2411119 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/19 13:39:29
Fixed up the details panel name area to be aware of in world component editing.
	Fixed up usage of the details panel name area to use new enum based usage flag for name areas

[CL 2419254 by Ben Marsh in Main branch]
2015-01-26 17:14:50 -05:00
Simon Tovey
e200e2156b New niagara graph nodes.
Input - General input node that replaces the GetAttribute and GetConstant node. The input node can do both depending on the scripts usage. The input will also be used to connect up scripts being used as functions.
Output - Replaces NiagaraNodeOutputUpdate. Allows any number of outputs with user set names and types. Also used to connect up outputs of scripts used as functions.

Moved all constants and attributes to use a Type,Name pair as an ID rather than jsut an FName. This is required for full support of attributes and constant of any type. Still some work to be done for full support of this.

A few minor unrelated fixes.

#codereview Olaf.Piesche

[CL 2406324 by Simon Tovey in Main branch]
2015-01-14 15:48:20 -05:00