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
2014-07-23Buildbot: rework to support branch selection.Bastien Montagne
Issue with previous code was that branch selected was applied to all repositories. To be able to control branch on a per-repo basis, we need to use codebases instead. This commit only enables branch (master/testbuild) and revision selection for master, we probably do not need this for submodules currently (easy to enable anyway). Note: tested on local buildbot setup, for linux only (up to build step, have no build env).
2014-07-23Bake-API: Test for cyclic node connectionDalai Felinto
If the active image node contributes to the final material shader (meaning it's either directly or indirectly connected to an Output Node) the user will receive an alert about circular dependency. Similar to what we do for Blender internal the baking will still happen, but the user will receive the alert which should prevent the image saving to happen if the result was not intentional. Core function to check for node output written by Lukas Toenne. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D673
2014-07-23Extended mathutils.Vector.orthogonal() to accept a 2D vector.Tamito Kajiyama
Reviewer: Campbell Barton Differential revision: https://developer.blender.org/D668
2014-07-23Fix T41157Antony Riakiotakis
Was an issue with python interpretation error. Second part of the bug is fixed by Campbell. also minor UI tweak for occlusion UI.
2014-07-23Occlusion Query based selection.Antony Riakiotakis
This patch creates an interface for selection mechanisms in opengl. This makes it possible to switch between occlusion query based or select rendermode based selection transparently. This is really useful on graphics drivers that do not accelerate the select rendermode path (some ATI cards are notorious for this, and the new path is used by default there), since occlusion queries are always hardware accelerated due to their use in games. The option can be found under system - selection. Auto just enables occlusion queries for ATI users while the rest of the options enforce one of the two methods always. There is just one known change, previous code enforced nearest bone to always get selected, even when mouse selecting near the same position, I couldn't replicate the behaviour though. patch by me with edits and review by Campbell. Thanks!
2014-07-23Fix T41156: UILayout.prop_enum() does not observe "text" parameter overrideBastien Montagne
We do have odd behaviors with name and expanded enums, but in this case it did not made any sense at all! :) Note the error was not in RNA, but in C UILayout api itself...
2014-07-23Fix T41116: Motion Blur causes random black surfaces on rigged modelsSergey Sharybin
Fix T41115: Motion Blur renders Objects Black - But not in Viewport Preview This actually extends previous fix to normals and makes it all much nicer now. Worth doing some intense testing, quick one worked just fine but there always could be some corner cases.
2014-07-23Cleanup: BKE_scene_set_name mixed G.main & bmain argCampbell Barton
2014-07-23Fix for mixup in startup.blend data init when userprefs.blend was missingCampbell Barton
Rename UI_init_userdef_factory to BLO_update_defaults_userpref_blend This closely matches BLO_update_defaults_startup_blend so makes sense for them to be together.
2014-07-23Fix T41147: Static BVH shading problemSergey Sharybin
Fix T41079: Solid black render of object with negative scale and smooth shading In both cases the issue was caused by negative scaled objects with single mesh users for which scale gets applied when using static BVH. Since the on-fly normals calculation land normals for such cases weren't flipped leading them to point to a wrong direction. Added a special object flag for this, which is a bit of a bummer because now we've got less bits for real useful things, but this is the only way to get proper normals without adding more complexity in the on-fly calculations.
2014-07-23Freestyle: minor speedup by omitting unnecessary transform matrix operations ↵Tamito Kajiyama
in the file loader. Previously the imported mesh data were transformed by a local-to-world projection matrix through NodeTransform. Now that the file loader assumes the imported mesh data already in the camera coordinate system, an indentity matrix was supplied to NodeTransform. The present commit avoids this redundant matrix operation by using NodeGroup instead of NodeTransform, recalling the latter is a subclass of the former with extra matrix computations.
2014-07-22Fix T41141, can't paint texture in cycles.Antony Riakiotakis
The issue is actually that creating a new image in texture paint mode will set it always as a stencil image. Internally, the code checks if the painted image is the same as the stencil and if it is, no painting is done. Solution is to expose a boolena to the operator for setting the image as a stencil (could be an enum in th future for more uses) Stencil UI is a bit weird here, will definitely redesign.
2014-07-22Fix crash in cases when first BA step happens with all zero-weighted tracksSergey Sharybin
2014-07-22Buildbot: fix submodule branch issue (we have to fix it on 'master', since ↵Bastien Montagne
default one can be overriden by custom setting for force scheduler).
2014-07-22Texture paint:Antony Riakiotakis
* paint slots from cycles only include texture image types * tweaking with select mouse no longer confirms on release
2014-07-22Update buildbot conf, to enable a 'testbuild' branch in 'force' scheduler.Bastien Montagne
2014-07-22Tiny change for gsoc paint curve drawing: numpad enter now draws the curve too.Thomas Beck
2014-07-22Code cleanup, unneeded variable, always true when used, not used whenAntony Riakiotakis
set
2014-07-22Freestyle: removed the context switch button from the Freestyle panel in the ↵Tamito Kajiyama
Render properties window. The button was intended to guide new users of Freestyle, but actually that is a matter of documentation. The button is unlikely to be frequently used once users get familiar with Freestyle panels in other contexts. Now that Freestyle has been part of Blender since a while, it seems time to clean the UI.
2014-07-22Freestyle: added a note on #include "DNA_material_types.h".Tamito Kajiyama
2014-07-22Freestyle: Fix for UI text of the "use_tips" line style property.Tamito Kajiyama
2014-07-22Cleanup: pep8 & redundant varsCampbell Barton
2014-07-22Fix missing includeCampbell Barton
2014-07-22Fix T41086: VSE separate images increases file size abnormally.Bastien Montagne
We were copying everything from the old sequence into each new ones... including the stripdata, which for image sequences is an array with one item per image! So bug was an exponential one, separating strips of a few tens of images was insensible, while separating a strip of 1000 images would add above 250MB to file size (and RAM usage too)!
2014-07-21Make clone tool UI slightly less horrible.Antony Riakiotakis
Move clone tool options as well as layer selection to the brush panel. That should make its use more apparent and, most importantly, easy.
2014-07-21Fix T40839: Object Font Text Rendering BugSergey Sharybin
The issue was caused by the wrong objects order for convertblender.c. Dependency graph totally missed handling of this situation. Fixed now, but it's not that pretty, don't try this at home obviously. But consider this to be good enough for the current dependency graph. Details are in the build_dag_object().
2014-07-21Transform: edit to recent commitCampbell Barton
Copying long comments about & `#if 0` is hint it could be defined in one place.
2014-07-21Fix T40432: Scaling to zero with manipulate center points works precisely on ↵Bastien Montagne
second time Commented out the 'no zero' protection of scaling transforms for numinput. Issue is, once an axis has null scale, you can't regrow it from transform code (you have to directly edit the scale property). This is not ideal, but getting good behavior in this case is hairy... Yet, when using numinput, you type precise values, so if you want to set it to zero, set it to zero. User is assumed responsible, we should avoid too much 'invisible magic' when handling precise inputs. ;) Note: an idea for possible future feature would be to have an 'absolute' mode for numinput (allowing to type in real value, not factors).
2014-07-21Fix T41128: Box selection bug with armatures.Bastien Montagne
Calling `glLoadName()` was possible with '-1' value (65535 actually), in `draw_pose_bones()`... Note I think bug exists since ages (at least, seems to be already present in 2008 when drawarmature.c was added in repo)! Odd behavior reported (issue only affected objects once parented to the armature) was due to ordering stuff, since only objects drawn *after* the armature were affected.
2014-07-21Py/API: Improve intersect_line_line with parallel linesCampbell Barton
Now comparing the distance between line-intersection points to see how close lines are - doesn't fail in the parallel case.
2014-07-21Bugfix T41133: Audio: Speakers with animated pitch cause clicks in rendered ↵Jörg Müller
animations, crashes or huge filesizes in rendered audio Crash happened when the pitch value got <= 0, preventing this now.
2014-07-21Fix errors in hsv calculation from recent optimization patch.Antony Riakiotakis
Code was different from original here, result was apparent in color picker wedge position.
2014-07-21CleanupCampbell Barton
2014-07-21GSOC 2013 paintAntony Riakiotakis
Yep, at last it's here! There are a few minor issues remaining but development can go on in master after discussion at blender institute. For full list of features see: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Painting Thanks to Sergey and Campbell for the extensive review and to the countless artists that have given their input and reported issues during development.
2014-07-21Math Lib: rename mul_serie_m3 to mul_m3_series & reorder argsCampbell Barton
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function)
2014-07-21Optimisation to rgb <-> hsv/l conversionAntony Riakiotakis
Basically avoid redundant computations. Gives ~1-4% speedup in the compositor depending on the use case. For more info see: http://lolengine.net/blog/2013/01/13/fast-rgb-to-hsv Reviewers: psy-fi, sergey Subscribers: campbellbarton Differential Revision: https://developer.blender.org/D596
2014-07-21Math Lib: Add isect_point_tri_v3Campbell Barton
Add to Python via mathutils.geometry
2014-07-21bmesh py api: face_split_edgenet missed NULL checkCampbell Barton
2014-07-21CleanupCampbell Barton
2014-07-20Correction to 7c7b730, multiplication order was flippedSergey Sharybin
That's really annoying that multiplication order is flipped comparing mat3 and mat4 cases, but for the purposes of not breaking all the branches which might use this stuff we'd better keep order consistent with old version for now. Suggestion here would be to make order consistent but rename this functions to mult_* to make compilation fail instead of failing and using wrong order silently.
2014-07-20Update buildbot config to latest actual versionSergey Sharybin
2014-07-20Sequencer: Fix wrong blur result when one of the sizes is zeroSergey Sharybin
2014-07-20Early out from gaussian blur if both sizes are zeroSergey Sharybin
2014-07-20Bugfix T41042: Irrelevant Bezier handles still affect Graph Editor Show AllJoshua Leung
The "Show All" and "Show Selected" operators in the Graph Editor was taking into account all handles on keyframes, even when some of those would be invalid and/or set to nonsense values (e.g. for any interpolation mode other than "Bezier")
2014-07-20Bugfix T41077: Dope sheet's column select (alt + click) gets ignored with ↵Joshua Leung
NLA Strips NLA mapping corrections were being applied twice, causing column select to fail
2014-07-20Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵Campbell Barton
NULL's)
2014-07-20Fix T41122: Mask modifier followed by hair particles causes crash on render ↵Bastien Montagne
(cycles). There were several small issues/inconsistencies if how particles' org face index was checked, leading in some cases to invalid indices and hence mem access, in RNA UV/VCol compute for particles. Note org code RNA one was copied from (in BI's convertblender.s) is much more complicated, and seems to never reach those breaking conditions. Also deduplicated most code in those UV/VCol particles funcs, they were doing mostly the same thing! Finally, also got rid of annoying `NO CD_ORIGSPACE, error out of range` error message in console, was another case of not checking whether we did have any faces in final mesh!
2014-07-19Sequencer: Add gaussian blur effectSergey Sharybin
Currently this gaussian blur implementation accumulates values in the square kernel rather that doing X direction and then Y direction because of the lack of using multiple-staged filters. Once we can we'll implement a way to apply filter as multiple stages we can optimize hell of a lot in here. Another thing we can do is to use SSE2 instructions here.
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-19Code cleanup: warningsCampbell Barton