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
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-07-13dont include the preview.blend in headless modeCampbell Barton
2011-05-19Fix for preview render, lamp and world now also get localized like material ↵Brecht Van Lommel
and texture.
2011-05-19Code refactor: split code for render updates and opening render view intoBrecht Van Lommel
separate files, no functional changes.
2011-05-01replace inline string searches with BLI_findstring(), strcmp(..., ""), with ↵Campbell Barton
char comparisons.
2011-04-27Fix for bug #26590, `Texture preview fails when path to custom brushNicholas Bishop
icon is set' * Main problem was calling BKE_icon_changed too much, blocked previews from updating * Also fixed clearing the icon when it's not a valid image path Review link: http://codereview.appspot.com/4356045/
2011-04-04Bugfix #26761Ton Roosendaal
Texture preview render now doesn't increment/decrement material->texture user counts anymore. Blenders library.c code could use some overhaul once to support data relinkage and copying around better. :)
2011-03-11Bugfix, irc report:Ton Roosendaal
Pressing ESC on material icon preview changes made it stop updating the icons. Was caused by default 'break' callback testing ESC and not resetting it. Now it uses same break callback as other previews.
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-03-04Two additional fixes for node-tree + texture paint:Ton Roosendaal
- "need exec" flag was cleared in wrong tree for preview renders (it should clear it in the copy, i did in original). This fixes projection paint on images with previews open - Previews for nodes were copied always, now only for previews invoked by node editor itself.
2011-03-03bugfix #26267Ton Roosendaal
ImageWindow + 3D view texture paint + texture preview render + texture nodes. Threading hell! But it works now :)
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-26Bugfix #26221Ton Roosendaal
Two bugs in one: - Lukas commit monday for new group/socket handling accidentally removed to set socketype in stacks, which as used by (texture) nodes to detect whether value, color or vector had to be read. Result was that all texture nodes were rendering as B&W - Old 2.5 bug: preview renders for texture nodes didn't call a NodeEndExec function, which gave crashes on deleting nodes. The change in interface_hanlers.c is only a comment to explain how keymaps are being found.
2011-02-21bugfix [#26156] Opening .blend files through OS ignores "Load UI" flagCampbell Barton
2011-02-21bugfix [#26118] Getting 'Error Totblock' when using sub-properties from a ↵Campbell Barton
PointerProperty blender wasnt freeing ID-Properties when freeing the material copy. Checked that this isnt a problem for other preview types - texture/world/lamp.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-05Todo item:Ton Roosendaal
Object color option now is incorporated in preview render, and in display in 3D window. Note that Object-color is "modulating" the render result, it just multiplies... which is very limited for practical use. This was added for Apricot game project. The original meaning however was to replace diffuse only... so specular and light work still correct. ALso made header for properties editor start on top, to reflect default (report in tracker).
2011-01-04Todo item:Ton Roosendaal
New option to start threaded wmJobs, with flag WM_JOB_SUSPEND. This makes the job wait 1 timer step before running. Used now for Material Icon render renders, which makes the big preview to be always rendered first while using UI.
2011-01-03Todo: Material nodesTon Roosendaal
- On each re-render, the node image was cleared. Skipping this gives nicer pictures - Node render was using AA, but unfortunately only 1 sample for Nodes is being stored. Disable AA render for now, nice speedup too.
2011-01-03avoid int/float comparisons within a number of for loops in deep shadow map ↵Campbell Barton
compression. gives minor overall speedup.
2011-01-02Bugfix #25446 (and todo item)Ton Roosendaal
The icons for materials were always lagging or not updating at all. I also found it suspicious slow... It appeared that the icons now store a "mip level", where for every change in Materials 2 render jobs for icons were started, one for 32x32 pix, one for 96x96. The latter was cancelling out the first job almost always. Also made preview renders detect size, to set amount of tiles to be rendered. Small icons use 1 part, larger previews 16 now. All in all, behaves much smoother now! But, will also update the thread Jobs manager to allow "delayed jobs" like for icons, these are aggressively put as first in the jobs list.
2010-12-20Bugfix #25301Ton Roosendaal
Material Node trees: SSS wasn't displaying in Nodes. Implementation notes: - Currently copying local data for preview render, only copies the base material. Node materials are re-used. - This causes data to be in 2 "main" databases... complex. - To make it work for preview, I had to add another loop in the SSS code that checks the original Main dbase. That's marked as warning in code to be fixed up. Another bug: - Material properties "SSS presets" copied settings to the active material, not to the displayed one. Added RNA call to retrieve this from Objects. (Next commit will fix preset scripts)
2010-12-20Bugfix #25307Ton Roosendaal
Node shaders + textures, showing in Texture properties, with option "show both previews" had bad ID checking.
2010-12-19Bugfix #25301Ton Roosendaal
Preview render for node shaders broke, caused by localizing materials last week, to prevent thread crashes. Fixed now. Also added a temp fix to draw color-management corrected node previews default. Will follow scene setting tomorrow. Also: SSS in nodes doesn't render yet. Was issue in 2.4 too...
2010-12-19Bugfix #25288Ton Roosendaal
SSS preview render didn't happy. Was caused by using a Material copy for preview renders (to prevent crashing in other cases). There were actually 2 errors: - material copy should be added to preview-main database - the render was invoked using wrong main database even!
2010-12-03Bugfix #20565Ton Roosendaal
Material Node shaders: displaying GLSL + rendering previews crashed. Reason was non-safe threaded access to material nodes. Now, on a preview render, a full copy of Material is being made.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-23use zero initializers instead of memset(), also change PointerRNA_NULL from ↵Campbell Barton
an extern into a define.
2010-10-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-08-20Fix #23350: flip "both" texture preview order from material-texture to Brecht Van Lommel
texture-material so it corresponds better to the text below.
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-12Fix #23238: crash rendering multiple scenes from compositor.Brecht Van Lommel
2010-08-08remove unused includesCampbell Barton
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-08-02Fix preview render crash after recent G.main changes.Brecht Van Lommel
2010-08-012.5: code changes to reduce the usage of G.main and pass it alongBrecht Van Lommel
or get it from the context instead.
2010-07-26== Sculpt ==Nicholas Bishop
Fixed brush icons loading slowly * Changed brush icon property from an enum to a flag that toggles whether a custom file is used for the brush icon * Changed get_brush_icon to only handle loading external icons, built-ins are handled through the regular icon system * Modified preview icon drawing to allow built-in icons * When not using a custom icon, a default icon is selected based on the current tool TODO: * Allowing preview to show built-in icons makes the brush texture selector look ugly when nothing is selected. As discussed on IRC though, the nothing-selected state needs to be clarified anyway; I'll address this in another commit * Use image browser when selecting a custom icon * Selecting the default icon is ugly (uses the active object's mode), this can be fixed by making brushes know which paint mode they are part of
2010-07-26== Sculpt ==Nicholas Bishop
Minor sculpt cleanups * Moved the (previously extern) declarations of the brush icon data to ED_datafiles.h * Set sculpt tool RNA to alphabetical order, quite a long list now
2010-07-21* Polish preset did not enable tablet pressure for strengthJason Wilkins
* Turned off 'Front-Face Only' for all brushes, it needs more testing * Added brush icons for other paint modes * Moved 'tool' panel to bottom of all paint modes * Moved 'appearance' panel to be next to bottom * Moved brush selector panel to top of all modes * Closed all panels except the brush selector panel * Turned off X symmetry
2010-07-20* can use file for brush iconJason Wilkins
* fixed memory leaks * moved some of the brush icon code around * the update of the icon after a change is more responsive
2010-07-20* Made the default sculpt icons an internal part of the executableJason Wilkins
* Default icons can be selected from a menu * Option to make a custom icon from a file is present but the UI is disabled because of a mysterious crash * New startup.blend that has the appropriate icons selected
2010-07-04Fix #21062 and #22175: crash with node previews being calculated whileBrecht Van Lommel
editing nodes. Now preview jobs are killed before making any node edits.
2010-05-27Progress indicators for threaded jobsMatt Ebb
Now, rather than the bit-too-alarming stop sign, threaded wmJobs display a progress indicator in the header. This is an optional feature for each job type and still uses the same hardcoded ui template (could use further work here...). Currently implemented for: Render - parts completed, then nodes comped Compositor - nodes comped Fluid Sim - frames simulated Texture Bake - faces baked Example: http://mke3.net/blender/devel/2.5/progress.mov
2010-04-23Some fixes from the render branch:Brecht Van Lommel
* Take border render into account when drawing grid before for render result becomes visible. * Use antialiasing for rendering icon previews. * Fix Full Sample not drawing render result while rendering. * Mesh Deform Modifier: also forgot to commit this file.
2010-04-16Fix for possible null pointer, from uncle entity in ircMatt Ebb
2010-04-15Merge various small changes from render branch:Brecht Van Lommel
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-04-01Fix [#21347] no image at node editorMatt Ebb
Node preview render wasn't getting the correct test_break callback
2010-03-28External render engines can now render previews as well, disabled byBrecht Van Lommel
default, set RenderEngine property bl_preview = True to enable it.