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-02-10Cycles: optimize one normalization out from the previous commitSergey Sharybin
2015-02-10Cycles: implement pointiness geometry attributeSergey Sharybin
This attribute means how "pointy" the geometry surface is, which allows to do effects like dirt maps and wear-off effects on render geometry. This means the attribute is calculated for the final mesh which means no baking (which implies UV unwrap) is needed. Apart from this the behavior is quite close to how vertex dirty colors works. The new attribute is available as an output socket of Geometry node. There's no penalty for the render time, only some delay on scene preparation (the delay is linear of the mesh complexity). Reviewers: brecht, juicyfruit Subscribers: eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1086
2015-02-10Tests: Disable failing import/export tests for until they're fixedSergey Sharybin
2015-02-10Cycles: Bring back distance check in re-intersectionSergey Sharybin
From more investigation of the numeric failures in the kernel it appears the check was rather correct. But in theory it;s also needed for the motion triangles.
2015-02-10Cycles: Correction to glossy shaders not handling total internal reflectionSergey Sharybin
The issue was caused by lack of check for whether fresnel term is actually giving total internal reflection in refraction BSDFs. This lead to usage of arbitrary vector of (0, 0, 0) as reflection, giving numeric issues in other areas of the kernel. This gives some visual changes of sharp reflection but it seems to be rather proper now. Which also corresponds with rough glossy reflection with sharpness set to 0.001 (previously it was totally different from sharpness of 0.0, which is just weird).
2015-02-10Fix T43596: Refraction BSDF crashes blender on pre-sse4 CPUSergey Sharybin
This is the same issue T43475: SSE4 code is more robust to non-finite values in the ray origin/direction. So for now added a check before doing BVH traversal for pre-SSE4 CPUs. For sure actual root of the issue is a bit different and much more tricky to solve, especially without disturbing render results too much. Still looking into this. In any case, it's kinda fine to have such a check, we might later make it to be a kernel_assert() instead of just a return.
2015-02-10Fix grease-pencil crash without clip/track dataCampbell Barton
2015-02-10UI: scale timeline cache-height by DPI/pixelsizeCampbell Barton
D602 by @blakenator with edits
2015-02-10correct last commitCampbell Barton
2015-02-10Fix: Grease Pencil datablocks can be copied using the ID.copy() API method nowJoshua Leung
2015-02-10Synchronize changes from buildbot serverSergey Sharybin
2015-02-10Fix T43611: Collision shape of rigid bodies changes inadvertentlySergey Sharybin
The issue was caused by the fix for T34108, which modified DNA in order to get a fallback box collision shape. Not sue why it's needed, we can just get box shape directly, without modifying user's settings.
2015-02-10Nodes: Various UI cleanups for Image and Environment Texture Nodesjulianeisel
Mainly consistency changes and smaller fixes. * Environment Texture Nodes: ** show image info ** split layout for menus (showing menu title on the left) ** hierarchical button order * Image Nodes: ** disable Alpha Mode menu if Use Alpha is disabled ** Don't show "+" icon/button if an image is already loaded ** Consistent alignment of menu buttons (see Input Color Space menu) Requested and approved by @venomgfx
2015-02-10Nodes: (Un)pack, filepath, refresh buttons for Environment Texture nodesjulianeisel
The same buttons are already used for other image textures and since the environment tex node does only allow images as well, it makes sense to have this here too. Approved by @lukastoenne and @venomgfx, requested by @venomgfx
2015-02-10CMake cleanup: Move OSL detection code into FindOpenShadingLanguage.cmakeSergey Sharybin
Should be no functional changes.
2015-02-10Fix file size not drawn using Link/Appendjulianeisel
For linking/appending, .blends get the type S_IFDIR added which prevents the size from being drawn. BLI_is_dir gets the type from the OS so it's better suited for this case. Reported by @sergey.
2015-02-09BGE - Vehicle Controller - add background and API checks for arguments of ↵Ines Almeida
function calls Fixes T41570 crash For readability, attachDir was renamed to downDir and the Python API docs renamed accordingly
2015-02-09Recreating bge python modules instead of using existingInes Almeida
All of the initXPythonBinding functions are changed to always creating the module instead of importing if previously existing. I can instead only remove the module return when the import is ok, so that it always inits. But then, I don't see the point in importing. I make sure that these functions are called only once per run, inside initBGE. This was not the case with GameTypes. I moved initPyTypes inside of initGameTypesPythonBinding due to that. I reorganized initGamePlayerPythonScripting and initGamePythonScripting so that they run things in the same order. initGamePlayerPythonScripting imports mathutils and aud, the other only aud. Shouldn't it be the same for both? Reviewers: campbellbarton Subscribers: sybren Projects: #game_engine, #game_python Differential Revision: https://developer.blender.org/D1070
2015-02-09Fix T43424: undo changes the active sceneCampbell Barton
Using different scenes with 2+ windows broke entirely using undo. Now keep track of the current windows scene in each undo-file, and ensure the undo-scene is on a visible window when undo is executed, switching the scene only when its not in a visible window.
2015-02-09more direct fix for last commitCampbell Barton
2015-02-09Fix T43498: New curves fails /w radius & rotationCampbell Barton
Scaling matrix assumed no rotation, also remove unused apply_diameter arg.
2015-02-09Fix outliner crash renaming library /w filterCampbell Barton
D1045 by @a.romanov
2015-02-09Cycles: Another attempt to solve 32bit CUDA kernelSergey Sharybin
Previous fix didn't quite work well. For some reason everything worked fine when using native nvcc in 32bit environment, but cross-compiling from 64bit platform it was still running out of memory. For now just made it so all the kernels are slower on 32bit CUDA as a temporary solution. Either it'll be solved in next CUDA releases (by dropped 32bit? =\) or we'll find better workaround.
2015-02-09Fix ImBuf leaked by Image from View operatorNicholas Bishop
Running this operator and and closing Blender gives this: Error: Not freed memory blocks: 2 ImBuf_struct len: 2480 0x69ba4f8 imb_addrectImBuf len: 1048576 0x6ccc2d8 Fixed with added call to IMB_freeImBuf in BKE_image_add_from_imbuf. Could be fixed in the operator instead, but I think the BKE function is the correct place since the comment says it should take ownership of the ImBuf. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1084
2015-02-09Code cleanup: remove unused function BKE_image_assign_ibufNicholas Bishop
Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1083
2015-02-09SpaceFile: rework filelist_find, was looping way too much.Bastien Montagne
2015-02-09GPencil: Show color swatches for GPencil layers in OutlinerJoshua Leung
Instead of showing a meaningless "dot" icon or having to come up with an arbitrary icon, the Outliner now shows the stroke/fill color swatches for each layer to match every other place where these are shown. NOTE: Like many other widgets in the outliner though, these are not editable.
2015-02-09GPencil: Viewport visbility and editability toggles for layers in OutlinerJoshua Leung
* Viewport visibility and locking are currently exposed * Later on, visibility in renders can also be included
2015-02-09Fix T43554: Zoom to mousepos makes 2D Views pan after zoom limits arejulianeisel
reached There are a couple of things that I don't like here, but it seems like the best way to handle this for now.
2015-02-08ndof: detect new 3Dx devices on LinuxMike Erwin
Was filtering for Logitech's USB vendor ID. 3Dconnexion now uses their own vendor ID for new products. Mac & Windows don't look for specific vendors so they should be fine. Also added a note to eventually make USE_FINISH_GLITCH_WORKAROUND available on all platforms.
2015-02-08GHOST: fewer virtual functionsMike Erwin
Reined back over-use of virtual functions in GHOST, especially in "leaves" of the inheritance hierarchy. This eliminates vtables for many classes and (in some places) turns virtual function dispatch into direct function calls. I'll be around to fix things if other coders think this change is too much. Still lots of virtual in GHOST_TaskbarWin32 since it just loves virtual.
2015-02-08minor Windows include tweakMike Erwin
Needed a minor change to test committing from a new development system.
2015-02-08Some minor fixes from latest coverity scan, nothing crucial here.Bastien Montagne
2015-02-08BGE physics: When colliding, report first contact point to PythonSybren A. Stüvel
This patch adds two parameters to the functions in the collisionCallbacks list. The callback function should thus be like this: ``` def on_colliding(other, point, normal): print("Colliding with %s at %s with normal %s" % (other, point, normal)) game_ob.collisionCallbacks.append(on_colliding) ``` The `point` parameter will contain the collision point in world coordinates on the current object, and the `normal` contains the surface normal at the collision point. The callback functions are checked for the number of arguments `co_argcount`. The new `point` and `normal` arguments are only passed when `co_argcount > 1` or when `co_argcount` cannot be determined. Reviewers: brita_, campbellbarton Subscribers: sergey, sybren, agoose77 Projects: #game_physics Differential Revision: https://developer.blender.org/D926
2015-02-08Initial vertex slide UV-correct supportCampbell Barton
Still need to adjust for contiguous UV's
2015-02-08BoxPack: avoid using static vars (make threadsafe)Campbell Barton
2015-02-08Fix for mask modifier invert UI missingCampbell Barton
D1066 by @gregzaal
2015-02-08CMake: only quiet warnings for generated rna filesCampbell Barton
also minor warning cleanup
2015-02-07RNA: use FUNC_USE_MAIN to avoid 'G' globalCampbell Barton
2015-02-07RNA: packing functions for vfont & soundCampbell Barton
D389 by @kevindietrich
2015-02-07GPencil: Initial support for GP Layers in OutlinerJoshua Leung
This is still very rudimentary, and lacks many things. * This needs a better icon. Perhaps we can look into using colour swatches here too like in all the other places? * The "active" check needs to be implemented still * Various restriction toggles to come still
2015-02-07GPencil: Initial support for Grease Pencil in the OutlinerJoshua Leung
This commit just adds entries for the Grease Pencil datablocks in the Outliner. Currently, there's not much more to see here, but the following commits will see to that.
2015-02-06Fix T43515: Initial velocity for fire bugMiika Hamalainen
Visual representation of fire was generated before simulation step took place. This caused fire to essentially lag one simulation step behind, even though all emission areas were up to date.
2015-02-06Fix T42950: Smoke particle flow doesn't work with high res and subframes ↵Miika Hamalainen
unless "set size" option is ticked.
2015-02-06Fix T43579: FBX Export shading issue (Broken normals?)Bastien Montagne
Error in custom split normals work, non-autosmooth normals != vertex normals! Loops from flat faces shall take normal of their face, not their vertex. Tsst...
2015-02-06cleanup: styleCampbell Barton
2015-02-06UserPrefs: increase max undo steps to 256Campbell Barton
2015-02-06rename SIPO_AUTOVIEW -> SIPO_AUTO_VIEW_SELECTEDCampbell Barton
The term auto-view on its own isn't very meaningful
2015-02-06One more crashing instance for hashesAntony Riakiotakis
2015-02-06Slip tool accepts numerical input.Antony Riakiotakis