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
2012-11-10Fix part of #33132: render resoltuion refresh issues after persistent imagesBrecht Van Lommel
was added for cycles. This fixes the case where the option is disabled. I moved the option now to Blender itself and made it keep the engine around only when it's enabled. Also fixes case where there could be issues when switching to another renderer.
2012-11-10Cycles OSL: auto update script node sockets when setting text datablock or ↵Brecht Van Lommel
filepath.
2012-11-09rename template_color_wheel() to template_color_picker()Campbell Barton
2012-11-09Bugfix #33124Ton Roosendaal
User Preference setting for Color Picker type only affected the popup version. Now it uses it for all color pickers in Panels too. Note for UI Py team: col.template_color_wheel() function follows the userpref - might be a need for rename here? Dunno how to handle this. Comment noted in template code.
2012-11-09style cleanup: indentationCampbell Barton
2012-11-09Axis Colours are now ThemeableJoshua Leung
This commit allows you to set the RGB <-> XYZ axis colours used for things like the mini axis indicator, grid axis indicators, manipulators, transform constraint indicators, F-Curves (when using XYZ to RGB colouring option), and perhaps something else I've missed. Previously, these places all used hardcoded defines (220 * i/j/k), but the readability of these colours was often quite poor, especially when used with certain themes. The settings for these colours can be found under the "User Interface" section of the themes (i.e. same set of colours is used across editors). I could have made these per editor, but since it's unlikely that these will need to be too different across editors in practice (+ being easier to version patch), they are stored under the UI section.
2012-11-09add a distance limit to the shrinkwrap modifiers project mode,Campbell Barton
it was problematic for vertices to fire rays out and hit some unrelated-far-off geometry which is often not what users want.
2012-11-08Fix #33113: cycles not rendering motion blur correct with dying particles.Brecht Van Lommel
There were a bunch of other issues with dupli motion blur and syncing, the problem being that there was no proper way to detect corresponding duplis between frames or updates. As a solution, a persistent_id was added to the DupliObject. It's an extension of the previous index value, with one index for each dupli level. This can be used to reliably find matching dupli objects between frames. Works with nested duplis, multiple particle systems, etc.
2012-11-08patch [#32874] Fixed the property path calculation in situations where the ↵Campbell Barton
link.index variable gets set during the search. From Florian K?\246berle
2012-11-08Added Map Taper option which if enabled maps affect of taper object onSergey Sharybin
actually beveled part of curve (previously affect of taper would have been clamped by start/end bevel factor) Here's an illustration: http://wiki.blender.org/uploads/5/5d/Blender2.65_CurveMapTaper.png
2012-11-07Bugfix #32806Ton Roosendaal
Two fixes for NDOF device: - RNA item for setting turntable or trackball for ndof was using wrong variable - Some moment the option "rotate around selection" stopped to work for ndof. Note: the latter option doesn't do dolly in, use shift+ndof for that.
2012-11-07UI message fixes...Bastien Montagne
2012-11-07code cleanup: use min/max functions rather then macros.Campbell Barton
2012-11-07Invalidate sequencer cache when movie clip's input color space is changingSergey Sharybin
Currently the only way is to invalidate the whole cache, for something smarter we'll need a dependency graph which would be able to deal with relations between clip and strip.
2012-11-07support for string parameters in OSL nodesDalai Felinto
for now subtype is not defined, but once we start parsing the metadata we can set texture inputs as FILEPATH also, it takes relative strings and convert to absolute for all strings (which is arguably a good solution, but should work for now)
2012-11-07Cycles: tangent and normal map now show UV map link menu instead of text field.Brecht Van Lommel
2012-11-06Cycles: 4 new nodes.Brecht Van Lommel
* Tangent: generate a tangent direction for anisotropic shading. Can be either radial around X/Y/Z axis, or from a UV map. The default tangent for the anisotropic BSDF and geometry node is now always radial Z, for UV tangent use this node now. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Tangent * Normal Map: generate a perturbed normal from an RGB normal map image. This is usually chained with an Image Texture node in the color input, to specify the normal map image. For tangent space normal maps, the UV coordinates for the image must match, and the image texture should be set to Non-Color mode to give correct results. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Normal_Map * Refraction BSDF: for best results this node should be considered as a building block and not be used on its own, but rather mixed with a glossy node using a fresnel type factor. Otherwise it will give quite dark results at the edges for glossy refraction. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Refraction * Ambient Occlusion: controls the amount of AO a surface receives, rather than having just a global factor in the world. Note that this outputs a shader and not a color, that's for another time. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Ambient_Occlusion
2012-11-06Bugfix [#33043] Changing the name of a keying set does not change group nameJoshua Leung
This now works for absolute Keying Sets (Builtin Keying Sets are highly context dependent, and usually cannot be renamed, so this shouldn't be a problem there)
2012-11-06bugfix: nodes.new('FRAME') not workingDalai Felinto
reported on irc by Peter Casseta
2012-11-05Sequencer: input color space support for image and movie stripsSergey Sharybin
2012-11-05Render engines: replace number of x/y tiles with tile sizeSergey Sharybin
Now tile size is setting up explicitly instead of using number of tiles. This allows better control over GPU performance, where having tiles aligned to specific size makes lots of sense. Still to come: need to update startup.blend to make tiles size 64x64.
2012-11-05Cycles: memory usage reportSergey Sharybin
This commit adds memory usage information while rendering. It reports memory used by device, meaning: - For CPU it'll report real memory consumption - For GPU rendering it'll report GPU memory consumption, but it'll also mean the same memory is used from host side. This information displays information about memory requested by Cycles, not memory really allocated on a device. Real memory usage might be higher because of memory fragmentation or optimistic memory allocator. There's really nothing we can do against this. Also in contrast with blender internal's render cycles memory usage does not include memory used by scene, only memory needed by cycles itself will be displayed. So don't freak out if memory usage reported by cycles would be much lower than blender internal's. This commit also adds RenderEngine.update_memory_stats callback which is used to tell memory consumption from external engine to blender. This information is used to generate information line after rendering is finished.
2012-11-05Camera Tracking: allow fallback to reprojection resection by user demandSergey Sharybin
This fixes some "regressions" introduced in rev50781 which lead to much worse solution in some cases. Now it's possible to bring old behavior back. Perhaps it's more like temporal solution for time being smarter solution is found. But finding such a solution isn't so fast, so let's bring manual control over reprojection usage. But anyway, imo it's now nice to have a structure which could be used to pass different settings to the solver.
2012-11-03RNA C++: collections functions are now properly handled, meaning it is nowBrecht Van Lommel
possible to call BlendData.meshes.remove() directly. It requires special order of classes in header file (namely classes used for collection functions should be declared before collection properties with this classes are declared). Currently used naive linear search for this, could be replaced with hash or bisect, but for now performance here is not an issue. Patch by Sergey, but committing now because it's needed for next commit.
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-11-03Render API: shader script node for custom shaders.Brecht Van Lommel
* Shader script node added, which stores either a link to a text datablock or file on disk, and has functions to add and remove sockets. * Callback RenderEngine.update_script_node(self, node) added for render engines to compile the shader and update the node with new sockets. Thanks to Thomas, Lukas and Dalai for the implementation.
2012-11-03RNA/C++: string property writing was missing.Brecht Van Lommel
2012-11-03BPY/RNA: determine callback functions that are allowed to write data by a flagBrecht Van Lommel
on the function instead of checking the name.
2012-11-02RNA C++: fixes for lookup_int/lookup_string which were not working in some ↵Brecht Van Lommel
cases, and don't use ReportList for function arguments.
2012-11-02own recent commit to add pointer passing between py-rna and our C code, ↵Campbell Barton
broke function calls for C++ rna api. reported as [#33048] Cycles crashes when rendering
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-11-01all library data now gets the PointerRNA's invalidated on removal.Campbell Barton
2012-11-01fix for long standing problem with blender 2.5x py api.Campbell Barton
Removing data then accessing would allow invalid memory access and often crash. Example: import bpy image = bpy.data.images.new(name="a", width=5, height=5) bpy.data.images.remove(image) print(image.name) Now access to the removed data raises an error: ReferenceError: StructRNA of type Image has been removed This is the same level of error checking that was done in blender 2.4x but was made difficult by RNA functions not having access to the PyObject's.
2012-11-01style cleanupCampbell Barton
2012-10-31Fix for #29056: NDOF motion events not configurable in user preferences.Brecht Van Lommel
2012-10-30style cleanup & re-use DNA pad var with new collision group object settings.Campbell Barton
2012-10-30BGE: Adding support for Bullet's collision masks. Each object now has a ↵Mitchell Stokes
collision mask and a collision group. Object A and object B collide if object A's groups is in object B's mask and object B's group is in object A's mask. In other words, the group defines what the object is (collision wise) and the group defines what the object can collide with. The majority of this patch was provided by Kupoman with some edits from me and heavy testing by z0r.
2012-10-29style cleanup: also quiet harmless compiler warning.Campbell Barton
2012-10-28style cleanupCampbell Barton
2012-10-27== file browser ==Andrea Weikert
PATCH: [#32989] Activate backup files filter in File Browser Contributed by Georg Kronthaler, many thanks! (I just moved the icon to a different place reserved for file browser icons) * enables the filtering of backup files in the file browser * adds a 'filter backup files'-icon to the filter buttons * adds new icons for backup files in list and thumbnail view * enables file preview for the backup files
2012-10-27Comment + whitespace tweaks for constraintsJoshua Leung
* Radiant -> Radians * Noted down revision number for when Jahka removed the old constraint blending logic. I spent some time hunting this down while trying to check if it might've caused any obvious changes leading to one of the (now closed) bugreports. Better to note this in the code then.
2012-10-27style cleanupCampbell Barton
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26Fix for a nasty (and dangerous, buffer overflow) bug that quite oddly seems ↵Bastien Montagne
to have never shown its ugly face until today (at least for me)... It was revealed by mocap's addon stupidly long operators label names (fix comming in next commit): the rna_Operator_bl_idname_set() and rna_Operator_bl_label_set() were clamping there string copy to RNA_DYN_DESCR_MAX instead of OP_MAX_TYPENAME!
2012-10-26* New string property subtype: PASSWORDJiri Hnidek
When this new subtypes is used, then string of property is hidden using asterisks, e.g.: mysecretpassword -> **************** This code was reviewed and modified by Brecht. Thanks very much: - https://codereview.appspot.com/6713044/ This new subtype of string property is intended mostly for Add-on developers writing Add-on which communicates with some server (http, sql, ftp, verse, etc.). When this server requires user authentication and user has to type username and password, then current API didn't allow to type 'hidden' password, e.g. when you want to demonstrate this script, then everybody can see this security password. Some examples of Add-on which could use this new subtype: - On-line database of textures - Integration of render farm - Integration of Verse Security Notes: - You can copy paste hiddent string of property from text input using (Ctrl-C, Ctrl-V), but you can do this in other GUI toolkits too (this behavior it is widely used). - Text of string property is stored in plain text, but it is widely used in other GUI toolkits (Qt, Gtk, etc.). Simple examples: - https://dl.dropbox.com/u/369894/draw_op_passwd.py - https://dl.dropbox.com/u/369894/blender-password.png
2012-10-26Bugfix #32975Ton Roosendaal
Shader nodes didn't redraw correct on preview-type changes. Also made shader node previews draw nicely, without flashing empty images.
2012-10-26Bug report #32970Ton Roosendaal
Added "not animatable" properties to Image animation options; that's not supported.
2012-10-26style cleanupCampbell Barton
2012-10-25Correction to viewport's lens description - lens works in ortho mode now.Sergey Sharybin
2012-10-25Correction to recent makesrna commitSergey Sharybin