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-11Fix T43149: Grease Pencil fill areas look divided by multiples ray linesJoshua Leung
The problem here was caused by the usage of GL_POLYGON_SMOOTH (thanks Campbell for the help tracking this down!). Apparently the issue is that this option ends up doing some nasty accumulation with whatever is in the framebuffer for each *tesselated* polygon (instead of the whole polygon as intended/expected). ** IMPORTANT USER NOTES ** With the removal of this option, filled areas and volumetric strokes will now have jagged edges again. To resolve these artifacts, it is necessary to enable Viewport Multisampling (found in the User Preferences, under the System tab), and restart Blender to see the effects of this change.
2015-02-11Minor optimization for mask modifierCampbell Barton
- don't resize ghash buckets (reserve maximum size) - get vert, edge arrays instead of DM getVert, getEdge - calloc -> malloc
2015-02-11FileBrowser: Editable Bookmarks.Bastien Montagne
Bookmarks are now editable (i.e. you can rename them, and reorder them). They are also listed in regular UILists, so you can filter/sort them as usual too. Also, FileBrowser 'T' side area is changed to something similar to 3DView one, in this case because we need op panel to remain at the bottom, and later because we'll more than likely need tabs here! Thanks to Campbell and Sergey for reviews. Differential Revision: https://developer.blender.org/D1093
2015-02-11UI: add optional tip callback to uiBut, and use it for per-item tooltips in ↵Bastien Montagne
UIList. When defined, uiBut->tip_func is called when button's tip is generated. This allows for advanced, dynamic generation of tooltips. For now, only used by UIList, which can now optionaly use a given string property of each item for its tooltip. Thanks to Campbell for the reviews!
2015-02-11Fix T43297 The Exporter assumed ANSII encoding but we need to support UTF-8 ↵Gaia Clary
instead
2015-02-10Cycles: Control CPU capabilities via environment variablesSergey Sharybin
Purely developers-only feature which allows to disable some of the CPU capabilities. This way it's easier to test different kernels on the same machine.
2015-02-10Remove legacy color transform functions.Troy Sobotka
Differential Revision: https://developer.blender.org/D1095
2015-02-10Fix recent vert-slide UV's when cancelledCampbell Barton
Added support recently, but wasn't cancelling correctly.
2015-02-10Fix T43565: BGE removed unneeded if/else in BL_KetsjiEmbedStartSybren A. Stüvel
2015-02-10Typo fix + clarification in mathutils.Vector exampleSybren A. Stüvel
2015-02-10Cycles: Fallback to bottom-top tile order when rendering from the command lineSergey Sharybin
In the worst case it'll do nothing, in the best case it might give some percent of speedup because of better cache coherency. Currently it's all handled as an override on blender_python level, don't really see reason to penetrate the boolean flag further into sync code. This can always be done later if needed.
2015-02-10Cavity mask support for texture painting.Antony Riakiotakis
Title says it all, options can be found in the options panel, A slider controls the amount of cavity masking that is applied while it's also possible to invert the mask and paint outside or inside cavities. Again we might greatly benefit from caching of the cavity result, but that should only affect startup time for the stroke.
2015-02-10Cycles: Add print functions for sse3f, sse3i and sse3bSergey Sharybin
2015-02-10Cycles: Add utility functions to print ssef, ssei and ssebSergey Sharybin
Nothing special, just really handy for debugging.
2015-02-10Cycles: Move mesh attribute creation into separate functionsSergey Sharybin
This makes overall code of create_mesh() much cleaner and easier to follow.
2015-02-10BLI_linklist: Add a new helper to move an item (identified by its current ↵Bastien Montagne
index) to a new position in the list.
2015-02-10Slip tool: add enter and space to confirm the operationAntony Riakiotakis
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