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-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-08Some minor fixes from latest coverity scan, nothing crucial here.Bastien Montagne
2015-02-08CMake: only quiet warnings for generated rna filesCampbell Barton
also minor warning cleanup
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-06Get rid of no scaling for proxies for master, it causes FX to crash,Antony Riakiotakis
will code another workaround for gooseberry.
2015-02-06Outliner: DragDrop objects to groupsCampbell Barton
Support drag&drop objects to groups in the outliner. D989 by @lichtwerk
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2015-02-05Fix T43556 clamp brush size before setting it after division by DPI,Antony Riakiotakis
avoids nasty zero size brushes.
2015-02-05Add Custom Loop Normals to Data Transfer.Bastien Montagne
Titles says everything, just two notes: * We have to actually transfer plain *normals*, not 'compressed' clnors, so had to add pre/post process to transfer to make the conversions. * Also added interpolation and advanced copy/mixing to CD_NORMAL, for same reasons.
2015-02-05Add Custom Loop Normals.Bastien Montagne
This is the core code for it, tools (datatransfer and modifier) will come in next commits). RNA api is already there, though. See the code for details, but basically, we define, for each 'smooth fan' (which is a set of adjacent loops around a same vertex that are smooth, i.e. have a single same normal), a 'loop normal space' (or lnor space), using auto-computed normal and relevant edges, and store custom normal as two angular factors inside that space. This allows to have custom normals 'following' deformations of the geometry, and to only save two shorts per loop in new clnor CDLayer. Normal manipulation (editing, mixing, interpolating, etc.) shall always happen with plain 3D vectors normals, and be converted back into storage format at the end. Clnor computation has also been threaded (at least for Mesh case, not for BMesh), since the process can be rather heavy with high poly meshes. Also, bumping subversion, and fix mess in 2.70 versioning code.
2015-02-05Mesh validate: add an option to not clean temp/cache CDLayers.Bastien Montagne
This is mandatory for incoming custom normal imports from io scripts, because often geometry here is corrupted, so we need to call mesh.validate() to clean it up. Issue is, we cannot set custom normals before geometry is clean, so we need to store temporary plain loop normals in a CD_NORMAL layer, validate, and then set custom normals. So we need a way to prevent 'temp' lnors to be freed by validate.
2015-02-04Fix T43560: crash when loading old (2.45 here) file whith multires.Bastien Montagne
Was trying to free a NULL pointer...
2015-02-04Sequencer, scaling and audio synchAntony Riakiotakis
Don't scale proxies, same as we do in gooseberry, also for sound synch give a small window around sound where frame is just pushed forward. Avoids video jumping in the cases when video renders faster than sound (yes, weirdly enough it happens sometimes). There might be a few jumps but results looks smoother here.
2015-02-04small typo in a code comment, fixing this before someone does it to prevent ↵Dalai Felinto
uneeded merge conflicts in branches
2015-02-04Port fix from gooseberry that doesn't load the full res file if a proxyAntony Riakiotakis
is requested.
2015-02-03Fix T43403: Compositor does not respect interlaced videoSergey Sharybin
This is actually issue with Image datablock, which had obscure Fields settings but didn't allow to de-interlace the video. Now added the option to de-interlace Image with Movie input type.
2015-02-03Fix own mistake unlinking text (recent commit)Campbell Barton
2015-02-02Fix for hair child roughness.Lukas Tönne
The fixed-function roughness was not getting used once the curve roughness has been enabled at least once.
2015-02-02Fix for unfreed effector weights in hair dynamics.Lukas Tönne
The internal cloth modifier effector weights get replaced temporarily to make the cloth sim use the particle weight settings instead. But the particle sim was not putting back the original weights, which can be non-NULL in case the cloth sim allocated these already. Messy design ...
2015-02-02Fix for unfreed memory due to unnecessary early exit in the freeLukas Tönne
function.
2015-02-02Fix for unfreed memory of internal hair cloth modifier pointcache.Lukas Tönne
2015-02-02cleanup: style/spellingCampbell Barton
2015-01-31Add PIL_check_seconds_timer_i to avoid castingCampbell Barton
note, win32 casts still casts from double.
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-30Get rid of the file touch hack.Antony Riakiotakis
If user cancels, there's an issue with leftover files. Instead use a hash to record files that have akready been registered for generation and skip them if so. That should guarantee things will go smoothly and when a file exists it is assumed to be valid.
2015-01-29Add some convenience operators to sequencer proxy panel:Antony Riakiotakis
Enable proxies for all selected movie strips (won't do recursive enabling for metastrips yet) Generate proxies operator here, as well as in strip menu
2015-01-29Node UI: add support to show text-blocks in framesCampbell Barton
Some node setups benefit from being documented like this.
2015-01-29Fix T42858: Non uniform gamelogic names on copyJorge Bernal
Use generic function for consistent behavior D949 by @lordloki
2015-01-28Based on Sergey's suggestion, use spinlocks for threaded loading ofAntony Riakiotakis
waveforms.
2015-01-28Texture painting, support cycles UV Map nodes:Antony Riakiotakis
Support UV Map nodes for determining active UV layer. Now when an image node is enocuntered, the system will recursively search the node's input sockets for any UV Map nodes. Obviously this won't fetch any coordinate transforms into painting, and it will only choose the first UV Map node encountered if more than one UV Map nodes are combined. However it should allow custom UV setups per materials and tweaking of the UV Map node's UV layer from the Slots panel.
2015-01-28Sequencer: Option to skip strip proxy generation if they already existsSergey Sharybin
This is a per-strip option next to the build proxy size which tells blender whether to skip building proxy size if the file for it already exists or not. The option is called "Overwrite" for simplicity. This option is enabled by default to avoid changes in the file behavior. TODO: Would be nice to do something like that for movie clips as well.
2015-01-28Add theme option for cliping borderAntony Riakiotakis
2015-01-28Fix dreaded black screen for missing proxies - if requested proxy sizeAntony Riakiotakis
is not found, use the original footage instead
2015-01-27Fix T43398: Viewport "Renderend" ist not updated when a material is assigned ↵Sergey Sharybin
to a face The issues goes back to eb016eb and now it becomes clear object could be tagged for update from the edit mode as well.
2015-01-27Fix T43429: bpy.ops.render.render() not working with scene in VSESergey Sharybin
Was a mistake in threading conflict prevention condition.
2015-01-27Fix T43427: Particle system children sometimes not generated on reloadSergey Sharybin
The issue was caused by the conflict between preview render which would set R_NO_IMAGE_LOAD flag on the renderer and texture samplers called outside of the render pipeline trying to use this flag. Now the sampler functions accepts extra argument so render pipeline can still skip image load, but calls outside of the pipeline will nicely load all the images. Not cleanest change in the world but good enough to unlock gooseberry team, and assuming we already had pool passed all over the place it should be all fine. Will need to reshuffle arguments into SamplerOptions structure later.
2015-01-26Cleanup: current/parent paths: add helpers in BLI_path_utils.Bastien Montagne
Also, avoid calling ugly strcmp with '.' or '..', making direct char checks is much cheaper here!
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-26Fix T43409: Particle instancing on hair sometimes doesn't have a pathLukas Tönne
cache available.
2015-01-26Fix T38619: Confusing logic for Keying Set keyframing SettingsJoshua Leung
The logic used for determining whether certain keyframing settings (i.e. visual, only needed, xyz -> rgb) got applied was wonky. The original intention here was that the Keying Set settings would override the global settings, and the path settings would override what was used for the Keying Set. However, that was not happening in all cases previously, as it was only possible to add flags and not to turn them off. This commit fixes that by introducing separate toggles to control whether the Keying Set/Path's settings override the settings inherited from its parent (i.e. the Keying Set for the Path, and the User Prefs for the Keying Set). The icons used for these toggles could get revised a bit (we need something which communicates "override this"; the current one is the closest I could find) WARNING: If you have old keying sets, this may cause some breakage!
2015-01-26Fix T41834: Ctrl+LMB, Extrude Curves 2+ splinesCampbell Barton
Extrude and Ctrl+LMB now support multiple selected vertices. Also maintain active vertices. D964 by Tyler Sliwkanich with own modifications
2015-01-26Curves: BKE_nurb_copy left duplicate arraysCampbell Barton
While callers accounted for this, its quite error prone. Just NULL instead.
2015-01-25cleanup: warnings, spellingCampbell Barton
2015-01-24BKE_image: use BKE_image_*** prefixCampbell Barton
use bools for return values and some api naming consistency.
2015-01-24Cleanup: styleCampbell Barton
2015-01-23cleanup: styleCampbell Barton
2015-01-23Keep proper bone active group after removing first oneSergey Sharybin
Previously active bone group would be set to NONE after removing the first one even if there are more groups in the armature.