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
path: root/source
AgeCommit message (Collapse)Author
2011-01-03stubs.c updates for uiLayoutGetRedAlert and uiLayoutSetRedAlertMitchell Stokes
2011-01-03Keyframing Operator Code Cleanup:Joshua Leung
Keyframing operators now use a dynamically-generated enum for their "type" property, which determines the Keying Set to use for keyframing instead of the obscure "index" values which were determined internally. Internally though, these same indices are still being used :) Notes: - I've kept the menu-building function and the special "menu" operator for now, since it's better to not "pollute" the actual insert keyframes operator with hardcoded menu-showing logic. Instead, the menu operator does that, so that if you like, you could write another such wrapper that works differently. - The 'type' properties could have the PROP_HIDDEN flags removed, though I think it's cleaner to leave these without this option for now.
2011-01-03- add in asserts for unlikely cases of invalid ID types being assigned to ↵Campbell Barton
key->from. - mode duplicate pointer/offset code into a static function.
2011-01-03fix for possible comparison of un-initialized variable.Campbell Barton
vol_get_bounds() only runs when shi->flippednor==0, but is.hit.ob was being checked afterwards irrespective.
2011-01-03bugfix [#25459] Zooming out with view3d.zoom() crashes blender completelyCampbell Barton
2011-01-03"Red-Alert" flags can now be set on UI layouts via the RNA API tooJoshua Leung
2011-01-03Bugfix:Joshua Leung
Setting the group for F-Curves from the Py-API (i.e. to move F-Curves from one group to another) was failing. After debugging this, this functionality should now work correctly, while still prohibiting the setting of groups on "F-Curves that aren't in actions" (i.e. driver- fcurves)...
2011-01-03Fix #25456: using Live Unwrap always unwraps with method Angle Based.Brecht Van Lommel
2011-01-02Bugfix #25446 (and todo item)Ton Roosendaal
The icons for materials were always lagging or not updating at all. I also found it suspicious slow... It appeared that the icons now store a "mip level", where for every change in Materials 2 render jobs for icons were started, one for 32x32 pix, one for 96x96. The latter was cancelling out the first job almost always. Also made preview renders detect size, to set amount of tiles to be rendered. Small icons use 1 part, larger previews 16 now. All in all, behaves much smoother now! But, will also update the thread Jobs manager to allow "delayed jobs" like for icons, these are aggressively put as first in the jobs list.
2011-01-02Spelling fix: itterator->iteratorSergey Sharybin
2011-01-02Small changes to new pointcache code:Janne Karhu
* Removed the unused fuctions spotted by Campbel. * Removed the gotos to make Ton happy. * Added better debug prints to disk cache operations. * Fixed a memory unmap error that seemed to happen on a test file.
2011-01-02Splitting quad into triangles and merging triangles into quad shouldSergey Sharybin
work correct with sculpting data now. Joining two triangles could give incorrect sculpting result for special topologies, but it's that case that can't be nicely handled with our layers architecture.
2011-01-02New customdata layer callback: validateSergey Sharybin
Used to validate displacement allocation size after face copying to match face vertex and displacement corners count.
2011-01-02Multires math function used for layer interpolation moved from customdata.c ↵Sergey Sharybin
to multires.c No functional changes
2011-01-02Crash fix for pointcache... bad goto's here.Ton Roosendaal
2011-01-02Small feature for debugging pleasure:Ton Roosendaal
The svn revision nr is saved in Blender file header now. Can only be retrieved with running blender -d now.
2011-01-02Bugfix 25451Ton Roosendaal
Tooltip for "default render output" was wrong.
2011-01-02- correct typos in comments.Campbell Barton
- move boxpack struct out of the public header.
2011-01-02Fix #25435: remove code that enabled EWA filter on mipmap toggle, should notBrecht Van Lommel
have been there, mistake in removing SAT filter.
2011-01-02Quiet warnings from last commit.Campbell Barton
Janne: could you check if ptcache_file_pointers_seek() & ptcache_read_init() can be removed?
2011-01-02CXX_Guardedalloc was complaining about freeing NULL pointers in ↵Mitchell Stokes
VideoTexture. I've added guards around the deletes to prevent this.
2011-01-02python api: rna array slices now return tuples rather then lists (fits with ↵Campbell Barton
recent change made to mathutils). minor improvements/cleanup to exporters.
2011-01-02Pointcache code cleanup and disk cache compression options:Janne Karhu
* Massive reorganization of pointcache code, things are now cleaner than ever. * For all but smoke the cache is first written to memory when using disk cache and after that written to disk in one operation. This allows less disk operations and the possibility to compress the data before writing it to disk. * Previously only smoke cache could be compressed, now the same options exist for other physics types too (when using disk cache). For now the default compression option is still "no compression", but if there aren't any problems this can be set to "light compression" as it's actually faster than no compression in most cases since there's less data to write to the disk. Based on quick tests heavy compression can reduce the file size down to 1/3rd of the original size, but is really slow compared to other options, so it should be used only if file size is critical! * The pointcache code wasn't really 64bit compatible (for disk cache) until now, so this update should fix some crashes on 64bit builds too. Now all integer data that's saved to disk uses 32 bit unsigned integers, so simulations done on 64bit should load fine on 32bit machines and vice versa. (Important disk cache simulations made on 64bit builds should be converted to memory cache in a revision before this commit). * There are also the beginnings of extradata handling code in pointcache in anticipation of adding the dynamic springs for particle fluids (the springs need to be stored as extradata into point cache). * Particles were being read from the cache with a slightly wrong framerate. In most cases this probably wasn't noticeable, but none the less the code is now correct in every way. * Small other fixes here and there & some cosmetic changes to cache panel, but over all there should be no functional changes other than the new disk cache compression options. * This whole re-organization also seems to fix bug #25436 and hopefully shouldn't introduce any new ones!
2011-01-02bugreport & fix [#25441] Copy Transforms Constraint head/tail fixin'Campbell Barton
from Dan Eicher (dna)
2011-01-02Fix for [#25427] cloth or soft body crash un UndoJanne Karhu
* Argh my bad, sorry about this! * Now only the actual data array is saved to avoid constant re-allocations, but no relations to active data are kept. * Also reverted Ton's quick fix for the crash as it's not needed anymore.
2011-01-02report & fix [#25447] SceneObjects null pointer dereference crashCampbell Barton
from Dan Eicher (dna) noticed sequence swap also wasn't checking for None.
2011-01-02geometry moduleCampbell Barton
- rename functions from camel case. - added docs for undocumented methods. - minor functional changes with exceptions and accepting 3d/4d vectors where it makes no difference. Renamed: - geometry.Intersect -> intersect_ray_tri - geometry.ClosestPointOnLine -> intersect_point_line - geometry.PointInTriangle2D -> intersect_point_tri_2d - geometry.PointInQuad2D -> intersect_point_quad_2d - geometry.LineIntersect -> intersect_line_line - geometry.LineIntersect2D -> intersect_line_line_2d - geometry.BezierInterp -> interpolate_bezier - geometry.TriangleArea -> area_tri - geometry.QuadNormal, TriangleNormal -> normal - geometry.PolyFill -> tesselate_polygon - geometry.BoxPack2D -> box_pack_2d - geometry.BarycentricTransform -> barycentric_transform
2011-01-01Bugfix #25445Ton Roosendaal
CTRL+R loopcut now shows header print with instructions. User report was that Blender was freezing :)
2011-01-01For non-gnu compilers, the __func__ doesn't exist.Ton Roosendaal
Fix for commit of 2 hours ago.
2011-01-01Bugfix, IRC reportTon Roosendaal
Floor constraint didn't work: the defines for the enums were using the wrong ones, the right ones are not logical... but code and dna and old files assume these. Now it works :)
2011-01-01Bugfix #25437Ton Roosendaal
Crash in Bezier animation (inserting keys on control points in curve object). The animation rna paths were not fixed after an editmode session, which got fixed 2 weeks ago, but for all older binaries the issue can still pop up. The crash happened because the RNA array-itterator was not doing a boundary check, even whilst the array size was passed on to the itterator callbacks. With rna then writing far outside of valid memory, very bad and unpredictable corruptions happen. I've added a range check now, and a decent print to denote the issue. An assert quit is useless, since a tab-tab on curve objects will fix the channels nicely. Example of warning print: Array itterator out of range: Spline_bezier_points_lookup_int (index 30 range 2)
2010-12-31Silence more compiler warnings.Guillermo S. Romero
2010-12-31Bugfix #25427Ton Roosendaal
Serious *bad* crash in undo introduced by commit Janne dec 21st. Time window now stores some kind of cache for fluids/cloth, but it's pointing (in SpaceTime) to data inside Objects. (Not ID). That's really not allowed... this commit fixes crashes but the cache code really needs to be redesigned. I'm also afraid this crash is going to frustrate everyone using physics...
2010-12-31Fix crash on load with a particular startup.blend, don't know how to redoBrecht Van Lommel
creating it, but this should be set to NULL on read.
2010-12-31fix [#25429] Armature modifier and inverted vertex groupCampbell Barton
- the invert flag was only being used for multi-modifier, but there is no reason not to use this in normal cases as well. - Armature modifier RNA name 'vertex_group' was incorrectly named 'vertex_group_multi_modifier' (own fault), confusion was caused by 'invert_vertex_group_multi_modifier' which was correct.
2010-12-31Fixing a crash on exit when using the Blenderplayer on win32. When ↵Mitchell Stokes
free_blender() was freeing main, main was garbage since the blend file data was already freed. So, I just replaced free_blender) with IMB_exit() and free_nodesystem(). Using free_blender() worked when I was in Linux running tests. That or I'm just gong crazy. ;)
2010-12-31armature recalc roll now works properly with mirror enabled.Campbell Barton
2010-12-31alternative fix [#25178] Switch Direction operator for bones doesn't update ↵Campbell Barton
mirrored bones when X-Axis Mirror is enabled - only temporarily adjust the selection, then de-select. - fix applies to bone merge too.
2010-12-31revert a small change from Ton's commit from r33637.Campbell Barton
Having edit operations select the mirrored bones means you cant so easily continue editing on one side of the armature. This is also inconsistent with other mirror editing operations in armature and mesh modes which don't adjust selection like this.
2010-12-31update python api with changes from Joshua's commit r33917. translate ↵Campbell Barton
reports into python errors.
2010-12-31reverting part of Ton's commit r33911.Campbell Barton
The bug was 'write_still' was incorrectly being initialized to 'view_context'. 'write_still' should always write an image, so failing silently here is bad behavior. Also, opengl render and internal render engine operator should use this option the same way.
2010-12-31CMake: use blender_include_dirs("${OPENGL_INCLUDE_DIR}") rather then ↵Campbell Barton
blender_include_dirs(${OPENGL_INCLUDE_DIR}) Apparently this is needed for MSVC in some cases, reported by Tamito Kajiyama r33895.
2010-12-31Continue from my commit r33952, which disallowed floats to be wrapped as ints.Campbell Barton
this missed some cases, now also disallow ints to be wrapped as floats. This commit also exposed a number of cases where ints/floats were incorrectly wrapped. Bugs like [#25416] wont slip through the cracks anymore.
2010-12-31Bugfix [#25414] Entering a newline before a : still indents itJoshua Leung
Fixed by patch attached by submitter. Cheers Jacob F (racoon)! <quote> If you write something like... def do_something: ...and press return it makes the new line with a tab which is good, but if you want to move the def line down to make room above it by pressing return while your caret is at the start of the line it indents the new line which has the def statement on it. Attached patch just checks if it's checking for a colon after the caret and returns if it is. </quote>
2010-12-31Bugfix [#25420] Sequencer View Zoom operator hiddenJoshua Leung
"Numpad 1" shortcut to set preview view zoom to 1:1 (i.e. 100%) did not exist in View menu. While investigating this, I found that the operator was missing a description/tooltip, so added one too.
2010-12-31Bugfix [#25415] Circle Selection does not work on bones in Pose modeJoshua Leung
Clobbered together some new code to do this based on the code for Edit Bone circle select as this case doesn't seem to have been implemented yet. NOTE: the code in view3d_select.c needs some urgent love and tidying up (like a room full of flaking paint).
2010-12-31Bugfix for [#25416] Precision in glare node doesn't match display.Thomas Dinges
2010-12-30Bugfix #25407Ton Roosendaal
Lamp shadows for offscreen render (opengl anim) had to be remade to cope with animated objects. Fix proved by Alexander Kuznetsov in the tracker log. Thanks!
2010-12-30Porting URL fixes for Release Logs from Tag to Trunk. Thomas Dinges
2010-12-30Fix for bug #25367 didn't ensure the problem wasn't happening elsewhere.Campbell Barton
add a check in makesrna, found FollowPathConstraint.offset was a float wrapped as an int.