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
2013-06-12minor changes to the script auto-execution based on Brecht's suggestions.Campbell Barton
2013-06-12Fix lamp size allowing negative values.Brecht Van Lommel
2013-06-11Fix #35405: properties editor preview render restarted unnecessarily after ↵Brecht Van Lommel
F12 render.
2013-06-11Fix #35704: Simplify on scene with dupli recursion crashesSergey Sharybin
Couple of issues here: - User shouldn't be able to run into dupligroup recursion. It was checking already when setting a group for dupli. Added check to operator which adds object to group. - It's still possible files with recursion are hanging around, so made simplify function robust to such kind of crap.
2013-06-11Use OpenMP threads in bm_loop_interp_mdispsSergey Sharybin
Gives approx 2x speedup on my laptop on such operations as mesh subdivision in edit mode. Desktops with fancier CPUs could benefit even more. Thanks Campbell for review!
2013-06-11Fix for distortion happens when flipping mesh normalsSergey Sharybin
Issue was caused by missing X/Y displacement components flip when flipping the normals (flipping the normals changes the tangent space apparently and displacement vectors need to be modified to correspond to new space). Reported by Jonathan Williamson in IRC.
2013-06-11another case that should have been in r57371, also reduce type conversions ↵Campbell Barton
in compassion.
2013-06-11fix for problem where curve handles in editmode could be obscured by other ↵Campbell Barton
selected objects (referred to in [#35669])
2013-06-11fix [#35656] Crash on File BrowserCampbell Barton
2013-06-11Fix #35561: freestyle + read full sample layers = crash.Tamito Kajiyama
Now add_freestyle() in pipeline.c takes a second argument to enable/disable stroke rendering. When stroke rendering is disabled, the function allocates data structures but does not perform stroke rendering. The allocated data structures (mostly left unpopulated with data elements) are intended to allow for the Read Full Sample Layers (Shift-R) command in the compositor.
2013-06-11Cycles / Wavelength to RGB node:Thomas Dinges
* Added a node to convert wavelength (in nanometers, from 380nm to 780nm) to RGB values. This can be useful to match real world colors easier. * Code cleanup: ** Moved color functions (xyz and hsv) into dedicated utility files. ** Remove svm_lerp(), use interp() instead. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Wavelength Example render: http://www.pasteall.org/pic/show.php?id=53202 This is part of my GSoC 2013. (revisions 57322, 57326, 57335 and 57367 from soc-2013-dingto).
2013-06-11Fix msvc compile error with subdivide use_smooth_even option.Brecht Van Lommel
2013-06-11Fix cycles backwards compatibility for specular_toon shader this actually needsBrecht Van Lommel
to be done in cycles itself to keep compatibility for bytecode too. Also fix broken button to compile OSL from the text editors, this got broken after recent change to disable editing of library linked nodes.
2013-06-10Follow up to r57354: WeightVG and Wave modifiers too need to handle tex id ↵Bastien Montagne
refcount ;)
2013-06-10Fix for crash when assigning NULL pointer to node group node_tree property. ↵Lukas Toenne
This is generally allowed (though operators usually would prevent it).
2013-06-10Fix #35678: Duplicating an object with Displace modifier does not increase ↵Sergey Sharybin
the reference count of the texture
2013-06-10Fix #35658: OpenEXR (from Maya) - missing passesSergey Sharybin
Added some special case for two-component channels name. Maybe magic could be simplified to just use last char of channel name as an id, but extra paranoid check never hurts.
2013-06-10Fix #35681: cycles excluded layers still got evaluated before and afterBrecht Van Lommel
rendering even if they were not used on any render layers.
2013-06-10Changes to mask evaluationSergey Sharybin
- BKE_mask_update_scene was only used with do_newframe=FALSE, removed this argument. - Made it so BKE_mask_update_scene is able to handle LIB_ID_RECALC_DATA case. Namely, if mask ID is tagged for data update it means shapekeys will be re-evaluated (as if do_newframe=true). If mask id only tagged for LIB_ID_RECALC, then no shapekey evaluation happens (same as it used to behave before). This means, doing DAG_id_tag_update(&mask->id, OB_RECALC_DATA) will lead to shapekeys re-evaluation which is really needed in such operators as clearing shapekeys (and cleaning shapekeys which is in tomato branch yet). This is a bit silly to use OB_RECALC_DATA sine mask is not an OB, but could not see better way to do it now. This fixes missing mask re-evaluation after clearing shapekey, would expect no other functional changes.
2013-06-10Fix #35653: manual texture space location and size not working in cycles ↵Brecht Van Lommel
viewport.
2013-06-10Custom Group Node type for extending existing nodes from python scripts. ↵Lukas Toenne
This is a sort of workaround for the lack of APIs in our existing node systems (compositor, cycles, BI, textures). These systems don't have any way to deal with scripted node types yet, which could in principle by added with pynodes. The NodeCustomGroup type adds a way of scripting nodes by automating node groups which the hardcoded system can then interpret like regular groups. The new NodeCustomGroup type has the basic node_tree pointer property like the regular group node types and also uses the same socket interface system as regular groups. This means that input/output sockets can be mapped to internal nodes in the same way as regular node groups in renderers and the compositor. On top of that, however, the NodeCustomGroup type can be subclassed in python scripts to flesh out scripted node types with own draw functions, properties, updates and so on. NB: Only cycles currently supports this node type and its derivatives, other systems may follow later.
2013-06-10fix [#35691] Context Override replaces instead of overridesCampbell Barton
2013-06-10Bugfix [#35382] NLA "Multiply" Blend Mode calculated incorrectlyJoshua Leung
The "Multiply" blending mode for NLA strips worked incorrectly. Instead of modulating the influence of the current strip, it was in fact scaling the result of the entire stack (with the strip applied). This caused problems when influence = 0, as it was in fact muting everything instead of just controlling the strip we are interested in.
2013-06-10Fix bug in vertex group code after recent changes, did not do proper NULLBrecht Van Lommel
pointer check.
2013-06-10RNA: simplify space type items code, no need to have this duplicated.Brecht Van Lommel
2013-06-10Replaced a hard-coded array length with MAX_ID_NAME.Tamito Kajiyama
2013-06-10correction to typo in r57327, ui-load wasnt working on splash screen.Campbell Barton
also minor changes: - update the load-UI flag when changing in the preferences. - remove unused initialization values for subdivide.
2013-06-10Fix for r57316: SPACE_EMPTY *is* needed in RNA enum for now, exported ↵Bastien Montagne
keymaps abuse it... So for now, static enum is back to its previous form, and the menu one is dynamically generated by a callback. Not nice, but works.
2013-06-10Made blender compilable with strict flags again.Sergey Sharybin
Maybe Joshua would want to check on arguments for nlaevalchan_verify.
2013-06-10Fix #35683: Addon working fine in console. But crashed when click GUI button.Sergey Sharybin
Crash happened in ED_view3d_calc_zfac and happend in cases operator was invoked from a region different from RGN_TYPE_WINDOW. For a transformation zfac is only used in convertViewVec in cases region is RGN_TYPE_WINDOW, so solved by just adding extra check in calculateCenter for this particular case.
2013-06-10optimize customdata lookups for subdivision.Campbell Barton
2013-06-10Bugfixes [#35263], [#35382] NLA Animated Influence is ignored if strips belowJoshua Leung
have zero total influence Previously, when evaluating the NLA stack at a particular point in time, if a channel hadn't been encountered before, influence values were simply ignored when accumulating the values contributed by each strip to the overall stack. This behaviour simplified the handling of the problem of what "baseline" to blend relative to (i.e. influence basically scales the magnitude of a scalar around 0, but we may not exactly want a property to get it's value set to 0 as baseline). However, the problem was that this meant that you'd get popping artifacts when the a lower strip finally reaches influence=0 but your upper strips haven't fully reached maximum yet ([#35382]). Another problem was that you'd end up with less ability to scale the influence of all strips (as in [#35263]). So, as a stop-gap fix now, we will allow influence scaling to work on these strips too. This still doesn't fix some of the other problems regarding baselines/rest-poses and deterministic behaviour when some channels are only keyed in one strip which isn't set to extend it's influence... Fixing those issues is a bit more involved, and would require a bit of refactoring of how we keep track of accumulation channels.
2013-06-10Bugfix [#35643] Animated textures are invisible in Graph Editor if it is notJoshua Leung
linked via material Textures linked to modifiers are now shown in the AnimEditor channel hierarchy under object level now (i.e. on same level as ob-data, shapekeys, and object's action). This makes it possible to edit such animation data without having to ensure that these textures are also linked to the object's material so that they will appear. As a side-effect of how this is implemented, if playback is slower on scenes following this commit, disable the "modifier" filter under the filtering settings in the relevant animation editor header. In particular, it may be beneficial to disable this when you've got scenes with meshes that have many modifiers (but none of these have any linked data with settings which can be animated), as Blender will still try to go through all those modifiers checking for anything to show.
2013-06-10fix [#35648] Loop cut, smoothness showing wrong symmetricalCampbell Barton
this is more of a feature request then a bug, but nicer to use even smoothing offset for loopcut smoothing.
2013-06-10fix [#35669] Snap curvepoints dont work correct when another object is selectedCampbell Barton
Ctrl+Click extrude curves now supports snapping to faces as with meshes.
2013-06-10fix [#35670] Selectionmode LMB dont change the controlling for putting curve ↵Campbell Barton
points with strg+lmb
2013-06-10minor edit to previous commit, only show option to reload the file if its ↵Campbell Barton
been saved.
2013-06-10Python script auto-execution changes:Campbell Barton
- script execution is off by default - if a blend file attempts to execute a script this shows a message in the header with the action that was suppressed (script/driver/game-autostart) and 2 buttons to either reload the file trusted, or to ignore the message. - the file selector will always default to use the trust setting in the user preferences, but reloading an open file will keep using the current setting (whatever was set before or set on the command-line). - added SCons setting WITH_BF_PYTHON_SECURITY, this sets the default state for the user prefereces not to trust blend files on load. ... this option was in CMake before, but always off, now its enabled by default for SCons and CMake, and forced on in CMake for now.
2013-06-10code cleanup: group python reset functions in BPY_python_reset()Campbell Barton
2013-06-10fix [#35663] Some object types don't draw bounds other than "Box"Campbell Barton
2013-06-10code cleanup: use boolean for intersection functions.Campbell Barton
2013-06-10Cycles / Wavelength to RGB node:Thomas Dinges
* Added a node to convert wavelength (in nanometer, from 380nm to 780nm) to RGB values. This can be useful to match real world colors easier. Example render: http://www.pasteall.org/pic/show.php?id=53202 ToDo: * Move some functions into an util file, maybe a common util_color.h or so. * Test GPU, unfortunately sm_21 doesn't work for me yet.
2013-06-10patch [#35631] Active element for LatticeCampbell Barton
by Kevin Mackay (yakca) Was one of our TODO's from the wiki.
2013-06-09Code cleanup: removed some unused UI button typesBrecht Van Lommel
* CHARTAB: not needed anymore with improved copy/paste support and text input. * IDPOIN: replaced by SEARCH_MENU. * ICONROW/ICONTEXTROW: replaced by RNA enums. * NUMABS: can use min/max limits instead. * BUT_TOGDUAL, TOG3, TOGR, SLI: not used in 2.5 interface.
2013-06-09This commit replaces old "manual" Editors menu with nice RNA-based one (so ↵Bastien Montagne
once again, some cleanup of old UI code). It makes the following changes: * RNA's editor types enum (space_type_items) has been re-ordered, added icons, and removed internal-only SPACE_EMPTY value, so that it matches the menu. * Two fixes in code drawing enums as dropdown menu: ** All items were taken into account when computing the number of needed columns, now simple separators (void string items) are ignored. ** Simple separators items were drawn as labels, taking far too much space! And now translators will be free from that ugly, insane menu-string! :P Thanks to Brecht for the review.
2013-06-09Fix #35611: 'Quick Edit' in Texture mode + RGBA16bit gives bright resultsSergey Sharybin
Was missing linearization of colro came from byte buffer.
2013-06-09NLA Editor: It is now possible to add strips to AnimData blocks with no existingJoshua Leung
tracks As a convenience feature for those who are loading in action libraries and using these to quickly block out things in the NLA editor, it is now possible to add strips to AnimData blocks without first manually creating empty tracks to add these strips to. Simply ensure that such empty AnimData blocks are selected (Hint: click on the action line of the affected AnimData block to do so), and try to add a strip normally.
2013-06-09Fix #35638: Object disappears when rotating after using the simplify brushSergey Sharybin
2013-06-09jpbouza Feature Request: Transformation Constraint now allows applies rotationJoshua Leung
offsets too (like for location) This is useful in some cases when Copy Rotation constraints would otherwise be used for this purpose but cannot be used for various reasons. Basically, this works in practically the same way that the Copy Rotation offsets work, including the same weirdness that you'll get when trying to manually rotate these in the 3D viewport using "global" space manipulations ("local/normal" spaces though still seem to work really nicely). WARNING: this may potentially break old files with transform constraint setups involving rotation outputs. Please check whether this causes any problems on old files, and report back if there are any issues.
2013-06-09Bugfix [#35686] Grease pencil to curve conversion causes NAN weights on verticesJoshua Leung
When you convert a grease pencil stroke to a polygon curve and look at the vertices, the first and last vertex have weight = 0, but all others have a -NaN value. This was caused by division by zero issues when minmax_weights[0] == minmax_weights[1].