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
2008-12-222.5Ton Roosendaal
Cleanup - for portablity we can keep the old ugly defines for retrieving active object, cfra and so on. But, they will use 'scene' not G.scene. - fixed code that uses those defines. - some unused variables/functions removed
2008-12-142.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r17434:HEAD
2008-12-02Lots of stuff; couldn't commit in parts because of refactor work.Ton Roosendaal
* Changes in interface/ module This commit brings back the way how buttons/menus work under control of WM event system. The previous implementation extended usage of handlers and operators in an interesting but confusing way. Better to try it first according the design specs. :) Most obviously: - modal-handler operators are not stored anymore in regions/areas/windows. such modal handlers own their operator, and should remove it themselves. - removed code to move handlers from one queue to another. (needs review with brecht!) - WM fix: the API call to remove a modal handler got removed. This was a dangerous thing anyway, and you should leave that to the event system. Now, if a handler modal() call gets a cancel/finish return, it frees itself in event system. WM_event_remove_modal_handler was a confusing call anyway! Todo: - allow button-activate to refresh after using button - re-enable arrow keys for menus (do both after commit) - review return values of operator callbacks in interface_ops.c * Fixes in WM system - Freeing areas/regions/windows, also on quit, now correctly closes running modal handlers - On starting a modal handler, the handler now stores previous area and region context, so they send proper notifiers etc. * Other fixes - Area-split operator had bug, wrong minimal size checking. This solves error when trying to split a very narrow area. - removed DNA_USHORT_FIX from screen_types.h, gave warning - operators didn't get ID name copied when activated, needed for later re-use or saving.
2008-11-30View2D - Initial commit of Pan-View OperatorJoshua Leung
* Moved View2D data from space-data to ARegion (aka regions). This has been done because drawing occurs in regions not areas anymore. The View2D struct is currently stored in the ARegion struct (not as pointer), given that most of the regions in use will be 2D anyway (only the 3d-view's "window" region is the exception). Added version patch code for outliner and timeline only for now. Headers are also likely to need this. * Added separate keymap for View2D operators. All regions that use View2D will need this added. This includes headers too. * Pan view operator (ED_View2D_OT_view_pan), currently works for Outliner and Timeline. Use MMB-drag as before. - It currently doesn't exposed any parameters for redo (via RNA-ID-Props), but only uses some customdata. Suggestions on what these parameters could be are welcomed. - I've yet to implement the necessary axis-locking features for this panning (which is required in Timeline for example to prevent vertical panning, which moves the markers out of view).
2008-11-132.5: merge with trunk, previous merge was only up to yesterday.Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r17416:HEAD
2008-11-13Merge of trunk into blender 2.5:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r12987:17416 Issues: * GHOST/X11 had conflicting changes. Some code was added in 2.5, which was later added in trunk also, but reverted partially, specifically revision 16683. I have left out this reversion in the 2.5 branch since I think it is needed there. http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16683 * Scons had various conflicting changes, I decided to go with trunk version for everything except priorities and some library renaming. * In creator.c, there were various fixes and fixes for fixes related to the -w -W and -p options. In 2.5 -w and -W is not coded yet, and -p is done differently. Since this is changed so much, and I don't think those fixes would be needed in 2.5, I've left them out. * Also in creator.c: there was code for a python bugfix where the screen was not initialized when running with -P. The code that initializes the screen there I had to disable, that can't work in 2.5 anymore but left it commented as a reminder. Further I had to disable some new function calls. using src/ and python/, as was done already in this branch, disabled function calls: * bpath.c: error reporting * BME_conversions.c: editmesh conversion functions. * SHD_dynamic: disabled almost completely, there is no python/. * KX_PythonInit.cpp and Ketsji/ build files: Mathutils is not there, disabled. * text.c: clipboard copy call. * object.c: OB_SUPPORT_MATERIAL. * DerivedMesh.c and subsurf_ccg, stipple_quarttone. Still to be done: * Go over files and functions that were moved to a different location but could still use changes that were done in trunk.
2008-11-13fix bad level call in texture nodesAndrea Weikert
BIF_preview_changed wasn't needed after all.
2008-11-12Bah, two more files!Ton Roosendaal
2008-11-12Patch #7897 Texture Nodes!Ton Roosendaal
Robin (Frrr) Allen did a decent job on this, so we can also welcome him as a member in the svn committers team to maintain it! I do the first commit with some minor fixes: - get Makefiles work - fix rounding issue with tiles on unit faces - removed UI includes from tex node A nice doc in wiki is here: http://wiki.blender.org/index.php/User:Frr/TexnodeManual On the todo for Robin is: - When using one or more Texture-input nodes, you cannot edit them by activating (as works now for Material nodes). - The new "output node" option fails on the default case, when only one output node is active. It then shows often a blank menu. Will get fixed asap. - When using a NodeTree-Texture as input node, the menu for 'active output' should not show. NodeTree should ignore other nodetrees to keep things sane for now. - On a future todo is proper usage of "Dxt" and "Dyt" texture vectors for superior antialising of checkers/bricks. General note; I know people are dying to get a full integrated shader system with nodes. In theory we could merge this with Material Nodetrees... but I rather wait for a solid and very well thought out design proposal for this, also including design ideas for unifying with a shader language (GPU, CPU). For the time being this is a nice extension of current textures. :)
2008-10-28added scons option BF_WITH_PYTHON (defined as DISABLE_PYTHON)Campbell Barton
2008-09-09Bugfix #13837Ton Roosendaal
Tonemap didn't correctly accept any buffer type. The coder who added this should check this fix! Any node coder maybe...
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-07-25* Fix for bug #9450 'Problems with Extended Material node with AmbCol socket'Matt Ebb
It turns out the material AmbCol property was never working properly, or even supported in the renderer, so I've removed it. Also included is a fix to make the 'Amb' input work properly too.
2008-07-09Fix for bugfix #12075: gamma node check for nan was alwaysBrecht Van Lommel
checking red channel.
2008-06-26Fix for bug [#13651] Convertor->Math->Divide brokenJuho Vepsalainen
Changed the if statement to catch zero case properly.
2008-06-17* Simple addition to math node (comp and shading): Greater Than and Less ↵Matt Ebb
Than modes.
2008-05-26Commit patch #9059 by gsrb3dDiego Borghetti
Unnecesary include path in Makefile.
2008-05-23== PyNodes ==Willian Padovani Germano
Fixing bug #11737 reported by Daniel Salazar (Zanqdo, thanks!): assigning as pynode a text that failed to parse as a pynode script, then deleting that text would crash Blender. http://projects.blender.org/tracker/?func=detail&atid=125&aid=11737&group_id=9
2008-05-22Fix for part of bug #12075: gamma node generated nan's on negative input.Brecht Van Lommel
2008-05-09Fix for bug #7068: displace node crashes with proceduralBrecht Van Lommel
texture input as vectors.
2008-05-08Fix for bug #11005: hue-sat-value node was doing unnecessaryBrecht Van Lommel
clamping, which not only is suboptimal for working with hdr images, it was also doing the clamping incorrect.
2008-05-03== PyNodes ==Willian Padovani Germano
More bug fixing, reports by Juho (bebraw) Vepsalainen (thanks!) #10340: a recent fix I made broke handling of pynodes with buggy scripts when loaded from a .blend. (This may have been the reason for #10341, too, caused by saving buggy typeinfo.) http://projects.blender.org/tracker/?func=detail&atid=125&aid=10340&group_id=9
2008-04-25== PyNodes ==Willian Padovani Germano
1) Added support for a var called "__node__" in pynode scripts, that can be used to point to the desired pynode object, to make sure it is chosen. 2) Fixed a semi-obscure crash that could happen when reparsing a pynode script that was used by multiple nodes in different scenes. Memory corruption would happen if the reparsing failed during the recreation of the pynode object, not when executing it.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-04-11This is patch [#8531] Change gamma node max valueKent Mein
Submitted By: Stephane SOPPERA (soppera) It just increases the max value for gamma correction to 10f. Which as noted in the patch is the same as the Gimp's color level tool. Kent
2008-04-07Fix for bug #8073: texture nodes connected to a viewer could crash.Brecht Van Lommel
Also fixed a bug where procedural buffers did not convert correctly to different buffer types (e.g. value -> rgba would give red).
2008-04-01Bugfix: the defocus node "no zbuffer" settings was automatically setBrecht Van Lommel
if there was no zbuffer input. However this means a user settings can be permanently changed without a user knowing. Now it just runs as if this option is set if there is no zbuffer, but doesn't change the setting.
2008-03-25Tweaks to labels on brightness/contrast nodeMatt Ebb
2008-03-16Fix for bug #8582: compositor math node did not output any resultBrecht Van Lommel
without input connections.
2008-03-16== PyNodes ==Willian Padovani Germano
Ongoing updates to the Blender.Node Python API: - Changed Blender.Node.node to Blender.Node.Scripted to be more specific and conform to bpython API. - Added a Blender.Node.Socket type to be used to define node sockets in a PyNode script. Also, socket type is inferred from the value(s) passed in, instead of also being defined by the script author. - Added attr access to input and output sockets in the __call__ method. Ex: an input socket called 'color' can be accessed as self.input.color now. These changes break existing pynode scripts, which shouldn't be a problem yet, of course, since we're still finishing this feature for 2.46. The wiki page and sample .blends have already been updated: http://wiki.blender.org/index.php/BlenderDev/PyNodes http://wiki.blender.org/index.php/BlenderDev/PyNodes/API
2008-03-15compiler warning cleanupStephen Swaney
2008-03-13Fix for bug #8385: vector inputs of texture node in the compositor didBrecht Van Lommel
not work correct, it should use bNodeStack inputs like other nodes.
2008-03-11Added an Alpha Convert compositor node, to convert betweenBrecht Van Lommel
premultiplied and key alpha.
2008-03-08Long on the wishlist, quite simple even, and there it finally is:Ton Roosendaal
Compositor: Muting option to temporary disable/enable nodes. Hotkey: press M on selection. It toggles. Note: no menu entry yet, and drawing style could be tweakered...
2008-02-28Fix segfault with bad setting in the Image node.Diego Borghetti
The limit in the UI tooltips to set the amount of images used in animation allow the zero value, that cause a segfault. This commit fix the UI, add a init value of 1 to the node and also check in case that node_composit_get_image return NULL.
2008-02-28Bugfix: compositor Blur node Bokeh option gave wrong results at theBrecht Van Lommel
bottom pixels of the image.
2008-02-23=== PyNodes ===Nathan Letwory
* Make PyNodes work with threaded renderer. This patch is by Willian. He has worked hard on getting this sorted out - now you should be able to render with PyNodes AND multiple threads.
2008-02-23=Reversion of premul bugfix=Joseph Eagar
Reversion of premul bugfix, as it was apparently not working all that well. Note that this brings back the bug where the erase alpha paint tool won't display correctly, since the UV image editor just draws images in key alpha now.
2008-02-19Possible fix for bug #6922: crash in displace compositor node,Brecht Van Lommel
possibly because it didn't handle the vector input correct if it was translated.
2008-02-19Further work on the premul option for ton. This optionJoseph Eagar
(which basically tells the renderer and compositor to expect a key image) is now done at the image user level. This does have some caveats, as image users don't always work the way I thought they would/should (for example, the same image user structure is apparently used in the uv image editor for all images, which is kindof odd). The UV image editor also now smartly detects if the premul option is set and draws the image using key alpha, instead of premul The subversion level was upped to convert the old premul flag, which was at the image level, to the new one, which is at the image user level.
2008-02-18Bugfix for defocus node gamma correct. It applied gamma correct toBrecht Van Lommel
a premul image but that doesn't work correct. Now it depremuls and premuls again around the gamma correction. Better solution might be possible, but this gives compatible results.
2008-02-15Fix for theoretical memory leak. Oddly this leak didn't seemJoseph Eagar
to be happening, but might as well fix it anyway.
2008-02-141) Revert previous commit, rendering negative won't work that simple...Ton Roosendaal
Needs much more attention. 2) Fix for zcombine node: - it skipped execution when no image rgba out was used - didnt work for FSA yet
2008-02-14stupid me! if you move var declarations sometimes you have to addJoseph Eagar
assignments outside of the var declarations!
2008-02-14in my tiredness I didn't declare some vars at the top of the block.Joseph Eagar
2008-02-14Added another 2 checks for if an image has the premul flag set, 1 in the image Joseph Eagar
compositor node, another in render_realtime_texture. Note that multilayer images in the image compositor node do not respect the premul flag (though I did write commented out code for it). As far as I can tell, the premul option never worked for multilayer images in the image node, so I'm a little nervous about making it work properly there. ton, any comments?
2008-02-13* fix for [#8085] Glare node crashes on inputs with < 4 colour channelsMatt Ebb
I had this assigned to Alfredo for a while, but he hasn't replied to the tracker at all, so I suspect he's not around. I'll commit this now to prevent crashes. Some of the code in the glare node assumed that all buffers will be 4 channel RGBA, when in fact it was possible to give it a VEC3, such as a spec pass with no alpha, which would crash it. This fix just duplicates the input to a new temporary RGBA buffer to work on, if it's not already RGBA.
2008-02-12* fix provided by Stefan Birgmeier (qwequ777): int pos may lead to crashes ↵Nathan Letwory
on 64-bit systems. PyDict_Next takes a Py_ssize_t, not an int (tsk tsk).
2008-02-12Bugfix: when defocus node had nothing to do and just passed on the buffer,Brecht Van Lommel
it didn't correctly deal with pointers, gave a crash in some circumstances.
2008-02-11== Pynodes ==Willian Padovani Germano
1) Trying to bring back compatibility with Python2.3. 2) Adding some stubs to compile blender player again on linux. Please tell me if Blender still doesn't compile with py 2.3 or if the player isn't compiling. There was a binreloc related stub I needed to add, so probably the player wasn't compiling before the pynodes commit. Thanks PanzerMKZ for reporting and testing part of the fix to py 2.3.