Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-16replace calls to BLI_linklist_append with BLI_linklist_prepend where order ↵Campbell Barton
us unimportant, since append steps over the whole list each time.
2013-08-16Merge plane track feature from tomato branchSergey Sharybin
This commit includes all the changes made for plane tracker in tomato branch. Movie clip editor changes: - Artist might create a plane track out of multiple point tracks which belongs to the same track (minimum amount of point tracks is 4, maximum is not actually limited). When new plane track is added, it's getting "tracked" across all point tracks, which makes it stick to the same plane point tracks belong to. - After plane track was added, it need to be manually adjusted in a way it covers feature one might to mask/replace. General transform tools (G, R, S) or sliding corners with a mouse could be sued for this. Plane corner which corresponds to left bottom image corner has got X/Y axis on it (red is for X axis, green for Y). - Re-adjusting plane corners makes plane to be "re-tracked" for the frames sequence between current frame and next and previous keyframes. - Kayframes might be removed from the plane, using Shit-X (Marker Delete) operator. However, currently manual re-adjustment or "re-track" trigger is needed. Compositor changes: - Added new node called Plane Track Deform. - User selects which plane track to use (for this he need to select movie clip datablock, object and track names). - Node gets an image input, which need to be warped into the plane. - Node outputs: * Input image warped into the plane. * Plane, rasterized to a mask. Masking changes: - Mask points might be parented to a plane track, which makes this point deforming in a way as if it belongs to the tracked plane. Some video tutorials are available: - Coder video: http://www.youtube.com/watch?v=vISEwqNHqe4 - Artist video: https://vimeo.com/71727578 This is mine and Keir's holiday code project :)
2013-08-14fix [#36349] Separate mesh by material creates meshes with all the materials ↵Campbell Barton
from the original
2013-08-11BGE: Fixing the memory leaks reported when the BlenderPlayer exits.Mitchell Stokes
They were caused by not having a free_windowmanager_cb set and by not having registered SpaceTypes, which meant data allocated for thosse SpaceTypes could not be freed. These were solved by defining a free_windowmanager_cb for the player that just frees wmWindows, and by making sure we only allocate memory for registered SpaceTypes.
2013-08-08Linking Brushes did not link the mask texture properlyAntony Riakiotakis
2013-08-07Fix crashes that could still happen opening files with the outliner bug that ↵Brecht Van Lommel
existed between revision 58855 and 58959. Now it ensures the memory is not freed before reading.
2013-08-07code cleanup: some structs were declaring data when only typedef's were ↵Campbell Barton
intended, make local vars and functions static.
2013-08-06Fix crash loading .blend files that have multiple outliners in a screen, savedBrecht Van Lommel
with recent outliner optimizations (revision 58855, 3 days ago), in any Blender version before this commit. On current Blender it would give a double free warning in the console. The problem is that it creates a temporary TreeStore on file save. However if you have multiple outliners this memory block would always be at the same memory address making it no longer unique. That then meant old memory address lookups on file read were failing. Solution now is to postpone freeing these temporary memory blocks until the end so that they are at unique addresses.
2013-08-04more consistent use of checks of BLI_open(), check 'fd < 0' rather then -1. ↵Campbell Barton
packedfile incorrectly treated 0 as an error value. best not be vague/sloppy with this.
2013-08-04add missing NULL checks from BKE_constraint_get_typeinfo(), so constraints ↵Campbell Barton
from the future dont crash. also remove some redundant NULL checks.
2013-08-03fix for [#36260] 2,300 Objects Makes Blender UnresponsiveSv. Lockal
- performance of outliner was low because of unoptimal data structures. - now it uses BLI_mempool instead of custom mempool and GHash to make searches for duplicates faster. - also fix undesired behaviour of BLI_mempool_as_arrayN thanks to Campbell Barton and Lukas Tönne for helping me get a better fix put together.
2013-08-02Some versioning changes/patching of the brush system:Antony Riakiotakis
* Change overlay alphas to 33 if not initialized. This should have been done for 2.67 but better do it now to avoid frustration with overly transparent overlays. For users that have set this low manually this will reset the setting to 33 but I think it's less irritating than users who unwillingly had the setting to 1 and saw nothing when activating the overlay. * Allow overlay alpha to be zero as well * Reset old, now obsolete BRUSH_FIXED flag for brushes that still use this. I am doing this here to avoid patching hell when the paint brush is merged, since it's not possible to know the merged version beforehand, and this flag will be used.
2013-07-24fix [#36262] Paste strip with video or sound content from another file ↵Campbell Barton
crashes Blender existing code was very stupid. - all ID pointers for clipboard strips are handled uniformly. - clipboard stores a duplicate ID pointer which are restored on paste. - restoring pointers... -- use ID's that are still in the database (copy&paste within the same file). -- fallback to name lookup. -- fallback to loading them from the original filepath (movie-clip and sound only). also fix bug pasting where initialing the sound wasn't done if there was no frame-offset.
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-23Fix #36225, spacing was halved and set to zero for texture paint brushes ↵Antony Riakiotakis
that had spacing of 1. Related to own changes to maintain spacing consistent between 2.67-2.66.
2013-07-19code cleanup: case & brace placementCampbell Barton
2013-07-13remove NULL checks on fixed size arrays, also was calling ↵Campbell Barton
BLI_testextensie_glob every time in the file selector with a blank string.
2013-07-09fix [#36066] crash when Tab out text objectCampbell Barton
the way Curve.len is used at the moment is really stupid, calculate string size on save for now, but should really store the length in bytes and total number of characters.
2013-07-08Fix #36024. This part fixes user counting for node editor trees. The user ↵Lukas Toenne
count previously would only work correctly for node trees which are part of material, scene, etc. or linked by group nodes. Any custom pynodes tree edited directly as library data would get a 0 user count on reload and subsequently not be saved. Now the node space follows the same pattern as the image space: the node tree(s) user count gets incremented on file load and opening in the editor ensures a real user. This leads to 1 "unreal" user for the editor (dropped on reload), but seems to be the only viable solution atm.
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-07-01fix [#35914] Blender crashes when trying to use vertex selection masking on ↵Campbell Barton
a copy directly after using SHIFT+d
2013-06-25style cleanupCampbell Barton
2013-06-18add option to enable auto-execute scripts, but exclude certain directories.Campbell Barton
2013-06-14fix for building c++ rna api with recently added smoothgroup api call.Campbell Barton
2013-06-14Fix for Jeroen Bakker
* [#35724] Backdrop zoom can be set to a very small value, making the backdrop disapear. There were checks in the drawnode that needed to be placed in the readfile. The checks checked if the zoomlevel was 0.0, then it was defaulted to 1.0, but the zoomvalue had a minimum limit of 0.01, hence it did not work. Moved the check to the readfile and checked for all values smaller then 0.02. These values are then reset to 1.0 Jeroen & Monique - At Mind -
2013-06-06style cleanupCampbell Barton
2013-06-05Fix #35640, part 1. Set the id.lib pointer for nested bNodeTree data blocks ↵Lukas Toenne
inside material, scene, etc. on lib_link, so that the UI buttons get disabled when editing linked node trees. Thanks to Brecht van Lommel for suggesting this fix.
2013-05-30Fix #35570, old group nodes with empty socket name strings crash. The ↵Lukas Toenne
identifier assignment was not taking potentially empty name strings into account. In addition some of the BLI_uniquename calls were not passing a valid defname parameter, also crashing.
2013-05-30remove redundant includes from cmake and scons.Campbell Barton
2013-05-30remove duplicate sys-types headers.Campbell Barton
also change define checks in BLI_sys_types.h (was warning a lot in linux about unused defines).
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-17Smoke simulator: Add flow subframes and ability to set custom particle size.Miika Hamalainen
Previously it was nearly impossible to have fast moving objects emitting smoke or they would just leave behind a row of smoke poofs instead of continious stream of smoke. Now it's possible to set number of subframes for each smoke flow. Another new thing is ability to set size of smoke flow particles instead of using closest smoke cell. This also works with my earlier "full sample" commit, so no more blocky particles either. :) For more info check my blog post: http://www.miikahweb.com/en/blog/2013/05/17/blender-smoke-subframes This commit also includes couple of fixes I spotted while testing: * Fix: dissolve was applied at different time for low res and high res simulations. * Fix: full sample setting didn't get copied with domain.
2013-05-10Fix for version patch in recent smoke commit, was using && instead of &.Brecht Van Lommel
2013-05-10Smoke: Add new "Full Sample" option to high resolution smoke panel.Miika Hamalainen
This is hopefully the ultimate solution against smoke blockiness near emitter. Previously high resolution flow/emitter voxels were generated based on the low resolution ones. So if you had 32 resolution and 4 division high resolution, it still used smoke flow generated from those 32 resolution voxels. Now I introduced a new sampling method called "Full Sample" that generates full resolution flow for for high resolution domain as well. Read more about it in my blog post: https://www.miikahweb.com/en/blog/2013/05/10/getting-rid-of-smoke-blockiness Also changed "quick smoke" operator default voxel data interpolation mode to "Cubic B-Spline" to smoothen out it even more.
2013-05-09Partial revert of own commits r56604 and r56603:Thomas Dinges
* Reverted the changes to code comments, as suggested by Campbell. It makes it more hard to follow. * Only keep changes to actual UI messages.
2013-05-09Fix for do_versions bug with node groups: The special case of direct ↵Lukas Toenne
input-to-output connections was not handled correctly. In this case both the tonode and fromnode pointers in old node groups are NULL.
2013-05-09UI naming consistency:Thomas Dinges
* ShapeKey -> Shape Key. Was called "Shape Key" in most places already. Pointed out by Dalai, thanks!
2013-05-08code cleanup: remove redundant check in writedata().Campbell Barton
2013-05-07Putting undefined versioning to only older than 2.67.Ton Roosendaal
2013-05-07Fix #35122: Blenderplayer crashes when loading levelSergey Sharybin
Issue was caused by ntreeUpdateTree calling for a ntree which is not in G.main. This lead to issues in ntreeVerifyNodes (which is called from ntreeUpdateTree). Made is so ntreeUpdateTree now accepts main as an argument. Will work for the release, later we could either solve the TODO mentioned in ntreeUpdateTree which will eliminate need in main there or make it so context's main is used from all over where ntreeUpdateTree is called (currently there're still some usages of G.main).
2013-05-06Fix for crash when using 2D stabilization for float movie clipsSergey Sharybin
Also removed unneeded image buffer scaling, it was only needed for "early output" if there was no rotation. That is no longer supported since it used to pixelate result a lot and interpolation is always used now. Saves quite a few of memory and CPU cycles.
2013-05-06Another correction to svn rev56509Sergey Sharybin
Initial fix was not fully working, because faulty edge shared the same address as screen area. This lead to screen freeing issues -- double free (which was supressed by guarded allocation actually) but also freed memory access when iterating via edges to free them. Solved by a small hack which removes edges with bad vertices from edges list. This prevents double-free and freed memory access cased by corrupted files we're currently fixing. In other cases this tweak is likely be harmless -- in worst case scenario it'll lead to small memory leak, which is not as much lethal as freed memory access.
2013-05-06Fix for uninitialized variable in previous commit.Sergey Sharybin
2013-05-06Bug fix #35179Ton Roosendaal
Added provision for saved corrupt blend files - caused by a startup.blend addressing > 16 GB space, which was read in 32 bits. Now an invalid screen will get removed immediate after read. Might give a memory-not-in-memlist print, but that's quite safe.
2013-04-30Fix for #35147, view in backdrop and image editor in compositor don't work ↵Lukas Toenne
anymore. The active_viewer_key which sets the active node tree to use for the viewer image was not initialized in do_versions yet.
2013-04-28BGE: Fix for [#34383] Blender crash Steering actuator 2.66 -> 2.59 -> 2.66. ↵Mitchell Stokes
Reported and fixed by HG1.
2013-04-25Fix build error with scons + msvc, needs pthread include.Brecht Van Lommel
2013-04-24Fix #34783: smoke simulation crash when changing frame while preview rendering.Brecht Van Lommel
Added a mutex lock for smoke data access. The render was already working with a copy of the volume data, so it's just a short lock to copy things and should not block the UI much.
2013-04-23Add stencil control for mask overlay. Key combinations are the same asAntony Riakiotakis
regular stencil but use Alt as well, so Alt-Rclick is translation, Alt- clamping to avoid scaling of stencil to zero.