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
2015-11-03BGE: Remove KX_IPOActuator.Porteries Tristan
KX_IPOActuator is not used since 2.4. This patch removes: - KX_IPOActuator.h/cpp; - Python doc; - Write of IPO actuator in write.c; - Allocation of IPOactuator in sca.c; - Conversion in KX_ConvertActuators.cpp; - Initialization of the python proxy in KX_PythonInitTypes.cpp; - Other minor remove in logic_windows.c and in KX_PythonInit.cpp. Reviewers: sybren, campbellbarton Reviewed By: campbellbarton Subscribers: moguri Differential Revision: https://developer.blender.org/D1603
2015-11-03Fix T46677: OpenSubdiv crashes when witching from simple and CC subdivisionsSergey Sharybin
Crash was happening due to OpenGL free from the non-main thread. Ideally we need to implement somewhat delayed unused buffer free for OpenSubdiv similar to what we are doing in GPU module.
2015-11-02Fix/workaround T46622: crash w/ metas & particlesCampbell Barton
Metas are scanning all scenes duplis, which can go into particle systems without an initialized derived-mesh. For now just do NULL check, its not correct but real fix is not fitting well with current design.
2015-11-02Fix T46626: Crash generating previewsCampbell Barton
Brush.toggle_brush was allowed to be an invalid pointer, it worked for the one operator that used it - but in general bad practice, requiring a lookup on every access. Ensure the pointer is kept valid now.
2015-11-02Library API: pass Main struct to unlink functionsCampbell Barton
2015-11-01Cleanup: remove unused scene recalcCampbell Barton
2015-11-01Cleanup: old commentsCampbell Barton
2015-10-30Python: check version binary name firstCampbell Barton
Check version name first since 'python' binary may be a different version.
2015-10-30Fix T46619: Levels node becomes UndefinedCampbell Barton
regression caused by 79c345ac
2015-10-28BGE: Fix T44448: LOD will display wrong LOD level object if zoomed outJorge Bernal
then in Current object distance hasn't to be cached.
2015-10-28Cycles: Expose user-defined shutter curve to the interfaceSergey Sharybin
Shutter curve now can be controlled using curve mapping widget in the motion blur panel in Render buttons. Only mapping from 0..1 by x axis are allowed, Y values will be normalized to fill in 0..1 space as well automatically. Y values of 0 means fully closed shutter, Y values of 1 means fully opened shutter. Default mapping is set to old behavior when shutter opens and closes instantly. This shutter mapping curve could easily be used by any other render engine by accessing scene.render.motion_blur_shutter_curve. Reviewers: #cycles, brecht, juicyfruit, campbellbarton Differential Revision: https://developer.blender.org/D1585
2015-10-28Support symmetrical curve mapping presetsSergey Sharybin
Previously curve mapping was always setting to only a single slope which then was symmetrizied by a tools (such as brush or compositing). With this change it's possible to set curve to symmetrical slopes as a part of preset.
2015-10-28Fix curve mapping linear preset not setting handle type correctlySergey Sharybin
2015-10-27OpenSubdiv: Fix wrong handling of vertex parentSergey Sharybin
Vertex parent was not registered as CPU data requirement. Should be in the 'a' release.
2015-10-26Cleanup: warning & whitespaceCampbell Barton
2015-10-26Fix T46599: Copy Rotation behaves erratically when Use Y is disabledJoshua Leung
When the "Use Y" option in the Copy Rotation constraint is disabled, the constraint behaves eratically when rotating all the target on all axes at the same time. This is partially to be expected due to the way that euler rotations work (i.e. the rotation orders stuff - you should use a rotation order based on most to least important/significant rotations). Hence, by locking Y, you're causing accuracy problems for Z. What was not expected though was that changing the rotation orders on the objects involved (for the record, it's the constraint owner that counts) did nothing. It turns out that for objects, the rotation order settings were getting ignored! This commit fixes this problem, and this particular case can be resolved by using "XZY". Notes: * Since all object constraints were previously working on the assumption that they used XYZ (default) order, it is possible that this change may have the unintended consequence of changing the behaviour of some rigs which relied on the buggy behaviour. Hopefully this will be a rare occurrence.
2015-10-25Use BLI_strncasecmp for text suggestionsCampbell Barton
2015-10-23BLI_math: add mat3_normalized_to_* functionsCampbell Barton
Many uses of matrices for rotation keep them normalized, so no need to normalize each time.
2015-10-23BLI_math: add invert_qt_normalizedCampbell Barton
When the quat is known to be unit length, so we can avoid scaling (just conjugate_qt which asserts on non unit quats).
2015-10-23Cleanup: use int for view_id's & view countCampbell Barton
`size_t` is useful for memory sizes or offsets, the number of views wont realistically exceed an int.
2015-10-23Fix ffmpeg memory leaksCampbell Barton
- audio_stream wasn't freed. - audio/video stream + context weren't freed on failure.
2015-10-23Fix ffmpeg saving long pathsCampbell Barton
Was checking wrong length on string copy.
2015-10-23Fix for error w/ RenderView in ImageView listCampbell Barton
2015-10-22Cleanup: remove script ID-typesCampbell Barton
Unused since 2.4x and unlikely to be reintroduced as ID-types.
2015-10-22Fix T46565: Movie render crash w/o permissionsCampbell Barton
Rendering to a path that didn't have write permissions would crash. Also fix error where `G.is_rendering` was left set when rendering failed.
2015-10-21Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76, part II.Bastien Montagne
Different issue actually, here RAWTGA was simply forgotten in the alpha-capable formats...
2015-10-20Fix T46544: Can't unpack generated imageCampbell Barton
2015-10-20First step to handle missing libs/datablocks when reading a file.Bastien Montagne
Idea is, instead of ignoring completely missing linked datablocks, to create void placeholders for them. That way, you can work on your file, save it, and find again your missing data once lib becomes available again. Or you can edit missing lib's path (in Outliner), save and reload the file, and you are done. Also, Outliner now shows broken libraries (and placeholders) with a 'broken lib' icon. Future plans are also to be able to relocate missing libs and reload them at runtime. Code notes: - Placeholder ID is just a regular datablock of same type as expected linked one, with 'default' data, and a LIB_MISSING bitflag set. - To allow creation of such datablocks, creation of datablocks in BKE was split in two step: + Allocation of memory itself. + Setting of all internal data to default values. See also the design task (T43351). Reviewed by @campbellbarton, thanks a bunch! Differential Revision: https://developer.blender.org/D1394
2015-10-17Fix T46429: Movie clip is deformed by resolution multiplier when offset is ↵Bastien Montagne
added in sequence editor.
2015-10-16Fix broken CD_NORMAL interpolation callback (would generate non-unit vectors).Bastien Montagne
Even if the weights are normalized, the weighted sum of normalized vectors usually does **not** give a normalized vector (unless all source vectors are aligned). This probably was not a big issue in most cases, since we usually interpolate similar vectors here - but still!
2015-10-16Fix T46508: data_transfer of normals fails in case objects are transformed.Bastien Montagne
The final stage of the process (copying/interpolating new dst cddata from src cddata) was simply broken in normal case, where we need to convert from source to destination object space. This patch is a bit verbose, but I cannot see how to avoid it really. To think this code is in master since over 6 months and it only gets reported now... :/
2015-10-16Mesh remapping: fix loop 'best matching normals' not using transform space.Bastien Montagne
Also, cleanup, reduce declarations of tmp_co/_no...
2015-10-16Cleanup: simplify BLI_stringdec useCampbell Barton
2015-10-15VBO implementation for GLSL subsurfed meshes (non-mapped case)Antony Riakiotakis
As with cdderivedmesh, performance here is still CPU-limited if material needs tangents/UVs/vcolors. Draw calls have much less overhead though. Also, as with derivedmesh, kept an exception for old drawing for NVIDIA +OSX+VBO off or setDrawOptions callback not being NULL. setDrawOptions should be ommitable and fully VBOfialbe (?) in the future, usually those just check for hidden flag of poly or similar.
2015-10-15Cleanup: BKE_idcode: idcode (types) are short, not int...Bastien Montagne
Also, use 'idcode' var name, as in many other places in Blender.
2015-10-15Fix T46483: vertex/edge slide with correct UVs sometimes pinning UVs.Brecht Van Lommel
2015-10-15Fix related to T46223: memory leak when loading multilayer multiview images.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1549
2015-10-15Fix T46223: multiview image sequences crashing.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1549
2015-10-14Support for multi-sample sequencer GL renderCampbell Barton
OpenGL sequencer render now uses a single fbo for all rendering.
2015-10-12Add functions to compute normals (verts, polys and loops ones) for a given ↵Bastien Montagne
shapekey. Title says pretty much everything, we now have BKE and RNA funcs to get vertex, poly and loop normals of a given shapekey. This will be used e.g. in FBX exporter (shapekeys need normal data too). Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1510
2015-10-12Cleanup & rework of BLO_linking code.Bastien Montagne
This commits does mostly two things: * Get rid of bContext parameter: I can see no real good reason to pass such a high-level data to such low-level code... It also makes it more difficult to call when you do not have a context available. * Cleanup the instantiating part. Last point is the most risky - previous code was sometimes quite confusing and hard to follow, from tests nothing behaves differently in new code, but some hidden corner case may show up. Anyway, no change in behavior is expected from this commit, if it happens please file a bugreport!
2015-10-12Cleanup in BLO API: rename 'append' funcs to 'link', since none do append, ↵Bastien Montagne
but only linking of datablocks!
2015-10-12Fix T46446: texture nodes image node not working with image sequences.Brecht Van Lommel
2015-10-11BGE: Adding a Max Jumps value to the character physic windowThomas Szepe
Actually we only have a Python API that allows to change the max jumps value. The patch also allows non programmers to change the maximum numbers of jumps. Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77 Reviewed By: lordloki, moguri Projects: #game_engine Differential Revision: https://developer.blender.org/D1302
2015-10-11Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.Brecht Van Lommel
2015-10-09Fix T46418: Constraints - influence other than 0 or 1 - bad results with ↵Bastien Montagne
non-homogeneous scaled matrices. Use new interp_m4_m4m4 instead of blend_m4_m4m4. Note that maybe we could replace other usages of blend_m... by interp_m..., but this should be investigated on a case-by-case basis.
2015-10-09Correct own error in editmesh bvhCampbell Barton
Flag mix-up and uninitialized var.
2015-10-09Fix leak creating 'empty' looptri bvh treeCampbell Barton
2015-10-08Fix compilation error with bullet disabledSergey Sharybin
2015-10-08Add logicbricks to ID looper.Bastien Montagne