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-10-14Merged revisions 60248-60717 from trunk/blendersoc-2013-bgeDaniel Stokes
2013-10-12code cleanup: use const's for vector args.Campbell Barton
2013-10-12Fix build scripts related to PSD support. Both CMake and SCons builds were ↵Irie Shinsuke
broken.
2013-10-11scons file for OIIO (needed for psd)Dalai Felinto
based on patch by Shinsuke Irie note: scons is not working for me at the moment so I did not test this patch. It should work fine though.
2013-10-11adding WITH_IMAGE_OPENIMAGEIO and removing the PSD build optionDalai Felinto
As per Brecht van Lommel's suggestion.
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-10-10add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.Campbell Barton
2013-10-10Get rid of the draw_input/draw_output callbacks for nodes. These are pretty ↵Lukas Toenne
useless wrappers around socket draw functions. Only use-case is the File Output node, which draws socket format type instead of an input value. This is now a special case in the standard socket type drawing, but should eventually become a socket type of its own for the File Output node.
2013-10-10Cleanup: Consistent names for draw callbacks in bNodeType.Lukas Toenne
This aims to establish a common pattern for the various confusing draw callback function pointers in bNodeType: draw_<purpose>_<nodetype>[_ex] Currently there are 4 different types of draw callbacks: * draw_nodetype, draw_nodetype_prepare: Main draw functions, allows specialized node drawing for things like frames and reroute nodes. Not exposed in the API. * draw_buttons, draw_buttons_ex: Optional non-socket buttons, most commonly used callback. Extended version used in sidebar for verbose buttons that don't fit into a node. * draw_backdrop: Draw elements in the backdrop (compositor only). Not exposed in the API. * draw_input, draw_output: Specialized socket drawing for some nodes, only for OutputFile node. Should not be used any further and be removed at some point. Not exposed in the API.
2013-10-10Weight Paint Tools: Add "Subset" option to "Normalize All"Irie Shinsuke
This option is needed when vertex groups are used for both armature deformation and the other purpose such as influence of mesh modifier. Thanks to Campbell for code review!
2013-10-10style cleanupCampbell Barton
2013-10-09Fix [#37012] The new export split normal does nor produce correct results.Bastien Montagne
Was a silly error introduced in algo during optimization, vertices having sharp and smooth edges would only get the first poly's normal for each "smooth loop group". Also done a (minor) optimization, and some comment fixes.
2013-10-09Photoshop PSD supportDalai Felinto
We now support the combined layer of Photoshop files (stored as layer 0 in the file). This way users can keep their files as multilayer PSD and Blender always handle them as flat images. For perfect alpha this requires an OpenImageIO update: https://github.com/OpenImageIO/oiio/commit/342cc2633ff590a3bb278481c61ae798c7148361 Photoshop sample files: https://github.com/OpenImageIO/oiio-images Brecht has some pending fixes to push for OIIO as well, so we may as well wait to update our libraries. What works: =========== * 8bit images (with or without alpha) * 16bits images (alpha discarded) * Photoshop files saved with 'Maximum Compatibility' * Cycles, Blender internal, BGE (and player) Known limitations (due to OIIO dependency): ========================= * Images with less than 4 channels show a wrong thumbnail (bug may be in OIIO) * Packed images are not supported * We do not write PSD files. Note: old Blenders have support for PSD via Quicktime library. But due to license issues this was discontinued. Many thanks for Brecht van Lommel for reviewing the patch, suggesting multiple improvements and to help solving the alpha issue.
2013-10-08Cycles / SSS:Thomas Dinges
* Remove the compatible falloff SSS implementation. We shouldn't support two implementations in the long term, and 2.7x is a good release number do break some compatibility as well. * Version patch added, so Files with Compatible falloff will automatically use Cubic now. It was already mentioned in the manual, that Compatible is deprecated. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#BSSRDF
2013-10-08Release Maintenance: Thomas Dinges
* Blender 2.70 release cycle begins, BCon1.
2013-10-08remove toolsettings (unused for a long time).Campbell Barton
2013-10-08use booleans in BKE_nurb_handles_autocalc and BMO_op_vinitfCampbell Barton
2013-10-08replace len_v3v3 with len_squared_v3v3 for comparisons.Campbell Barton
2013-10-07Fix #36981, Removing Sample line fails during render.Lukas Toenne
The SAMPLELINE flag in histogram was set during the BKE_histogram_update_sample_line function. That function in turn is called during every scope update in area draw function, meaning that during render it constantly gets set. OTOH the operator tries to disable the flag on invoke, which "cancels" the sample line by default. So during render the operator un-setting of the flag has no effect, because the render job immediatly triggers a redraw, which updates scopes and sets it again. Moved the flag out of the actual sample line update function into the operator execute. Now only the operator enables/disables overall sample line drawing, while the rest of the update works as before.
2013-10-05Fix for my last customdata fix, accidentally left in comments.Brecht Van Lommel
2013-10-05rename presets not to use '+' character, also some typo fixes.Campbell Barton
2013-10-05Fix for unnecessary customdata warning with empty meshes.Brecht Van Lommel
2013-10-04Remove prints from own r60549, sorry for the noise.Bastien Montagne
2013-10-04Fix obvious bug in particle code (copying normal into nor when in if(ornor) ↵Bastien Montagne
block...), though probably harmless in current code...
2013-10-04Fix #36930: dynamic topology sculpting with masks gave bad results:Brecht Van Lommel
* The mask was not subdivided properly on splitting edges, which gave interesting but definitely wrong fractal-like borders around masks. * Edge splitting was only done where the mask was < 50%, with the reasoning that you can't do a 50% topology update. But this gives an ugly border in the mesh. The mask should already make the brush move the vertices only 50%, which means that topology updates will also happen less frequent, that should be enough.
2013-10-04Fix #36939, Objects with nodes appear in gray in viewport, using Solid ↵Lukas Toenne
shade, and the Blender Engine (or Game Engine). The "active ID node" concept has become slightly more complex with pynodes. To find the active material or other ID links in a node tree recursively requires a hash key based on the "parent" tree of the current node group. To avoid returning NULL in case this key is not yet initialized (i.e. ID node has not been activated yet), just accept 0 key as well for the base node tree.
2013-10-03set mempool debug in the game-engine-player too. also remove redundant ↵Campbell Barton
mempool includes.
2013-10-03Fix an own regression introduced in the dyntopo cleanup commits. Do notAntony Riakiotakis
remove a vertex from the pbvh if the only face it was part of was removed from the pbvh. This should work but no time to investigate now properly, and better have a solid release. The problem could be seen when sculpting to open meshes. Some vertices and faces on the boundaries would become stuck and unresponsive.
2013-10-02fix [#36919] Cannot delete keyframe of animated simulation parameter if ↵Campbell Barton
simulation has been disabled
2013-10-01style edits and use macro for prefix checkCampbell Barton
2013-10-01bugfix [#32346] Node animation, removing nodes keeps FCurves.Dalai Felinto
The same bug happens for modifiers, but better to address it separately. Contribution and review by Lukas Toenne and Brecht van Lommel
2013-10-01Fix use of uninitialized variable in recent node tree changes.Brecht Van Lommel
2013-10-01add assert for bone renaming, to check if the chanhash is still valid.Campbell Barton
2013-10-01Fix issues reported by coverity scan in recent changes to customdata code.Brecht Van Lommel
2013-10-01replace inline searches for BLI_findindexCampbell Barton
2013-10-01Yet another fix for node groups localization: The ntreeLocalMerge function ↵Lukas Toenne
can not be used to free localized node groups, because it is not commonly called to free the localized node trees. Instead these data blocks are freed using the standard ntreeFreeTree function, so freeing localized node groups has to be done there. This means an ugly loop over G.main to detect localized groups, but should not be a big problem in practice.
2013-10-01Mark some CCG funcrions as inlinedSergey Sharybin
This seems to be giving speedup up to 10% in own tests. -- svn merge -r60104:60105 ^/branches/soc-2013-depsgraph_mt
2013-10-01Fix for own commit r60468: All the localized node groups ended up in the ↵Lukas Toenne
main library ... This was because of the G.main check in ntreeCopyTree_internal, which determines whether a node tree gets put into main or is an independent data block. This can now be controlled by passing an explicit Main pointer, so we can ensure localized node groups don't pollute main.
2013-10-01fix for error setting vector handles to free when both vector handles were ↵Campbell Barton
selected but not the mid-point. only one of the handles would be changed to the HD_FREE. effected curves and fcurves.
2013-10-01Fix #36850, Material Node Editor Crash Always.Lukas Toenne
This problem was introduced with pynodes merge in r55373. It's caused by missing localization of node groups in shaders in cases where GLSL + node previews causes threading conflicts. I'm not quite sure why we didn't do this before, but now all node groups also get localized recursively.
2013-10-01remove assert for poly_find_ear(), added recently but its incorrect, also ↵Campbell Barton
minor style edits.
2013-10-01Follow-up to r60433 (related to Bug #36878): additional checks for NULL line ↵Tamito Kajiyama
styles.
2013-10-01Fix [#36422] Trimmed audio files (hard cut only) in a metastrip have their ↵Bastien Montagne
trim removed Meta sound update (seq_update_sound_bounds_recursive_rec) was not taking into account hard trim (anim_startofs) when setting sound's start, while default sound strip update (sound_move_scene_sound_defaults) did... This could use some refactor, though, with a single func used in both cases, to avoid such issue. Also added soft trim to sound panel, only hard one was available.
2013-09-30add asserts for id property functions (ensure invalid types aren't passed)Campbell Barton
2013-09-30Fix for plane track jitteringSergey Sharybin
Jittering was caused by homography not being estimated accurate enough. Before this, only algebraic estimation was used, which is indeed not so much great, Now use algebraic estimation followed with refinement step using Ceres minimizer. The code was already there since keyframe selection patch, made such estimation a generic function in multiview/ and changed API for estimation in order to pass all additional options via an options structure (the same way as it's done fr Ceres). This includes changes to both homography and fundamental estimation. TODO: - Need to document Ceres functors better. - Need to support homogeneous coordinates (currently only euclidean coords are supported).
2013-09-30more fixes relating to [#36878], freestyle was only checking for NULL ↵Campbell Barton
linestyles in some places.
2013-09-29Followup to r60416, we need to get cdlayers from bmesh everywhere! sorry...Bastien Montagne
2013-09-29Fix [#36847] If Force Field in Ridgid Body group, crash at first frame of ↵Bastien Montagne
animation on playback Not all objects in RB group actually have a "rigid body object", needs to be checked.
2013-09-29Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crashBastien Montagne
Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
2013-09-29Fix [#36841] UV-Maps cannot be renamed in EditModeBastien Montagne
Own error in r60260, in edit mode we need to use bmesh's cdata!