summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2018-08-23Switched AnimatedTexture to a readers-writers lock, solves a race condition ↵Juan Linietsky
and fixes #20221
2018-08-22Add option to move Tile/GridMap editors to another sideMichael Alexsander Silva Dias
2018-08-22Add distance based dithering to the default material.Juan Linietsky
2018-08-21Merge pull request #21250 from dragmz/ref-ptr-n(eq)-opRémi Verschelde
== and != operators for Ref<T> / T*
2018-08-21Merge pull request #20101 from panzergame/shape_marginRémi Verschelde
Expose bullet shape margin to UI.
2018-08-21== and != operators for Ref<T> / T*Marcin Zawiejski
This is to prevent crashes for code like: ... void Material::set_next_pass(const Ref<Material> &p_pass) { ERR_FAIL_COND(p_pass == this); ... that's been fixed in 031f763d4fda4e0dbcdf90a170aad3124c50c062
2018-08-21Merge pull request #21228 from Noshyaar/docs-bindRémi Verschelde
Fix arg name in docs, some copy-paste errors
2018-08-20Crash fixes for material and animtreeJuan Linietsky
2018-08-21Fix arg name in docs, some copy-paste errorsPoommetee Ketson
2018-08-19Fix crash when setting Material's next pass to itselfChaosus
2018-08-16Change PhysicsMaterial extension to phymatRémi Verschelde
All other binary extensions are lowercase.
2018-08-16Expose bullet shape margin to UI.Tristan Porteries
The margin value is exposed into the UI for shape ressource. This value can be modified through set_margin and get from get_margin or by using the property margin. Each time the margin is modified the associated collision shape is recreated and the margin value is used in ShapeBullet::prepare.
2018-08-15Attempting to workaround the problem present in #20904, let me know if it works.Juan Linietsky
2018-08-14Revert "Fix border artifacts at the edge of deep parallax."Juan Linietsky
2018-08-14Merge pull request #18096 from aaronfranke/masterJuan Linietsky
[Core] Split up math_2d.h
2018-08-14Merge pull request #20906 from Chaosus/rrect_fixRémi Verschelde
Fix ReferenceRect border
2018-08-14-Deprecate ImageTexture::loadJuan Linietsky
-Add warning to Image::load when loading resources -Add script binding for get_configuration_warning
2018-08-14Fix comments indentationRémi Verschelde
2018-08-14Merge pull request #20860 from guilhermefelipecgs/fix_border_artifactRémi Verschelde
Fix border artifacts at the edge of deep parallax.
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-11Fix ReferenceRect borderChaosus
2018-08-10Merge pull request #20861 from RandomShaper/improve-bitmapJuan Linietsky
Improve BitMap: expose methods + prevent stack overflow
2018-08-10Transform fill_bits from recursive to iterativePedro J. Estébanez
Avoids crashes when generating polygons from big bitmaps.
2018-08-10Expose additional BitMap methodsPedro J. Estébanez
Bonus: Restrict debug prints to debug builds
2018-08-09New TileSet EditorMAriano Javier Suligoy
2018-08-09Fix border artifacts at the edge of deep parallax.Guilherme Felipe
2018-08-08Merge pull request #20787 from Calinou/tweak-default-material-propertiesJuan Linietsky
Tweak the default SpatialMaterial properties
2018-08-07Merge pull request #20786 from groud/skybox_default_changeJuan Linietsky
Changes the default skybox to avoid the blue shade
2018-08-07Merge pull request #20381 from AndreaCatania/phymat_2Juan Linietsky
Improved Physics material
2018-08-07Removed physics material combination mode. Added rough and absorbent ↵Andrea Catania
parameter to material. Fixed 'change' signal connection
2018-08-07Tweak the default SpatialMaterial propertiesHugo Locurcio
Roughness is now set to 1 by default and albedo is now white, even on meshes that do not have any materials defined. This means there is no longer a visual difference between a mesh with no materials defined and a mesh with a default SpatialMaterial defined.
2018-08-07Changes the default skybox to avoid the blue shadegroud
2018-08-06Added proper import support for 3D and Array texturesJuan Linietsky
2018-08-06Merge pull request #20597 from karroffel/tex3dJuan Linietsky
add 3D textures
2018-08-05Ensure index is only saved when scene is inherited, or parent node is not ↵Juan Linietsky
from the edited scene. Closes #17562.
2018-07-30add 3D texturesThomas Herzog
2018-07-29Perform a name check when loading scenes and running on editor, fixes #6152Juan Linietsky
2018-07-28Added a method to find the index for a surface with a given nameBastiaan Olij
2018-07-26Merge pull request #15967 from Gamblify/AudioRecordingModuleRémi Verschelde
Audio Recording from godot
2018-07-26AudioStreamSample can now be saved to a WAV fileGustav Lund
8 and 16 bit sample saving has been implemented.
2018-07-26Audio Recording moduleGustav Lund
Implements an Audio bus effect that outputs the audio from the bus into a wav file Now channels audio recording into an AudioStreamSample instead of saving to wav
2018-07-26doc: Sync classref with current sourceRémi Verschelde
Fix various missing arguments in bindings.
2018-07-26Added keep scale flag to billboard materialsJFonS
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-25Fix crash when you pass invalid parameter to ImageTexture.set_dataChaosus
2018-07-24Merge pull request #18867 from fire/better_vx_us_rebase_02Juan Linietsky
Improve VisualScript UX
2018-07-24Improve VisualScript UXK. S. Ernest (iFire) Lee
* Prototype faster function call ux. * Work on general search ux. * Able to create nodes from search. * Show class for variables but not methods. * Get actions search working. * Descriptions now show for both methods and properties. * Enable zooming on mouse wheel up and down. * Make the drag trigger on right mouse button. * Search now shows for action visual script nodes. * Able to search visual node names. * Search works better. * Change zooming scale to hide artifacts better. * Remove zoom changes * Select from base should check properties too like the other functions. * Seq_connect flag is needed to set sequence lines correctly. * Remove comment * Code cleanup with function names and arguments. * Use brief description for search descriptions. * Clean and fix bug with input nodes connecting with sequence lines. * Add a warning and fix some edge conditions with sequence into data lines and vice versa. * Don't search functions when pulling from a sequence node. * Don't show actions when pulling from a data line. * Set set and get properties. * Convert visual script operators to the correct type * Create a function preset finds only functions. * Singletons can now find functions. * Add shift-a for generic search. * Add brief descriptions for Visual Script nodes. * Search boxes can now filter names. * Add bigger hit zones to node connect. * For the drop zones, make all the rect2 areas the same size. * Function names in visual script node should be lower case so that search works better. * Use the convention of capitalize() for set, set, visual script nodes and methods. * Make search more general. Ignore "_" and make case-insensitive. Also made the search window smaller and remove extra info from search * Make type_cast use the connecting node's type and remove use of found variable. * Fix case where you call an instance's call function where it becomes an invalid call. * Make get_visual_node_names use a set of filters, move action creations and fix bug with sequence node connections. * Make the window bigger. * Make connect_data and connect_seq more robust. * Add icons to search items. * Add vs constructors in shift-a menu. * Operators, builtins and constructors show type name. Fix several problems with port connections. * In shift-a mode search everything. * Code cleanup * Work on autocompleting the type. * Use type guess in action creation. * Check if type hint string exists in object variables when generating the visual script search. * Add the hint to SceneTree. * Add original type detection. * Make type casting great again. This puts the type casted base type as the data output type string hint. * Pass the type in a VisualScriptFunctionCall too. * Set the base type correctly in VisualScriptFunctionGet and VisualScriptFunctionSet using hint string. * Make sure the instance is passed in VisualScriptPropertySet. * Restore search on the node's type. * Remove dependencies from graph_edit. * Remove dependencies from property_selector and name the class visual_script_property_selector. * Extract hot zones into a function. * Move hot_zones constants into default theme. * Bigger capture zones. * Clean messy port_grab_distance variables. * Remove RMB functionality. * Remove memory leak on showing visual script descriptions. * Read the port_grab_distance constants on enter tree and theme changed.
2018-07-24Merge pull request #19225 from Paulb23/open_all_files_in_script_editorMax Hilbrunner
Open all files in script editor
2018-07-24Merge pull request #20391 from YeldhamDev/expose_tileset_modulateRémi Verschelde
Expose 'modulate' set/get in TileSet resource