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
path: root/source
AgeCommit message (Collapse)Author
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-07Bug fix: unbaked particle cache was cleared from current frame onwards on ↵Janne Karhu
file load.
2011-01-07Revert bump mapping patch for now, backwards compatibility is not good enough,Brecht Van Lommel
we may need to preserve the previous method.
2011-01-07Fix #25078: texture mapping options (e.g. size) not working correctly with bump.Brecht Van Lommel
This problem was in both new bump and new new bump. The derivatives used for bump mapping did not include the mapping, which gave mismatched offset for the taps, now just do the mapping beforehand.
2011-01-07Improved bump mapping patch by M.G. Kishalmi (lmg) and M.S. Mikkelsen (sparky).Brecht Van Lommel
Many thanks to them! For comparison, see here: http://kishalmi.servus.at/3D/bumpcode/ Based on algorithm in: Mikkelsen M. S.: Simulation of Wrinkled Surfaces Revisited. http://jbit.net/~sparky/sfgrad_bump/mm_sfgrad_bump.pdf This fixes bugs: #24591: Artefacts/strange normal mapping when anti-aliasing is on #24735: Error at the Normal function. #24962: Normals are not calculated correctly if anti-aliasing is off #25103: Weird artefacts in Normal This will break render compatibility a bit, but fixing this bugs would have also done that, so in this case it should be acceptable. Patch committed with these modifications: * Bump method Old/3-Tap/5-Tap option in UI, 3-Tap is default * Only compute normal perturbation vectors when needed * Fix some middle of block variable definitions for MSVC
2011-01-07bugfix [#25528] lack of update and crash using hook modifier.Campbell Barton
2011-01-07Bug fix: particle point cache was reset on start frame if particles had grid ↵Janne Karhu
distribution even if there were no changes.
2011-01-07New hair child options:Janne Karhu
* Renamed children to "simple" and "interpolated" as this is easier to explain and more descriptive than "from particles" and "from faces". * Also shuffled the child ui around a bit to make it clearer. * Child seed parameter allows to change the seed for children independent of the main seed value. * Long hair mode for interpolated children: - Making even haircuts was impossible before as the child strand lengths were even, but their root coordinates were not similar in relation to the parent strands. - The "long hair" option uses the tips of the parent strands to calculate the child strand tips. * Hair parting options: - Hair parting can now be calculated dynamically on the fly when in 2.49 there was a cumbersome way of using emitter mesh seams to define parting lines. - For long hair parting can be created by a tip distance/root distance threshold. For example setting the minimum threshold to 2.0 creates partings between children belonging to parents with tip distance of three times the root distance ((1+2)*root distance). - For short hair the parting thresholds are used as angles between the root directions. * New kink parameters: - Kink flatness calculates kink into a shape that would have been achieved with an actual curling iron. - Kink amplitude clump determines how much the main clump value effects the kink amplitude. - The beginning of kink is now smoothed to make the hair look more natural close to the roots. * Some bugs fixed along the way too: - Child parent's were not determined correctly in some cases. - Children didn't always look correct in particle mode. - Changing child parameters caused actual particles to be recalculated. * Also cleaned up some deprecated code. All in all there should be no real changes to how old files look (except perhaps a bit better!), but the new options should make hair/fur creation a bit more enjoyable. I'll try to make a video demonstrating the new stuff shortly.
2011-01-07cmake: share the DNA_*.h list definition between makesrna and makesdnaCampbell Barton
2011-01-07Fix for [#25526] Inmediate crash when changing amount of particles in a ↵Janne Karhu
particle system * Point cache index array doesn't necessarily have all particles if the particles were re-allocated recently.
2011-01-07Fix for [#25506] Hair showing up in places not assigned by a weightmapJanne Karhu
* Two separate bugs, with very similar symptoms. * The distribution binary search didn't work correctly in cases where there were a lot of faces with 0 weights. * Maximum distribution sum should have been exactly 1, but due to the wonderful nature of floats this wasn't the case at all.
2011-01-07patch [#25440] Object.vertex_group fixin'Campbell Barton
from Dan Eicher (dna) From the tracker (with minor edits) ======================== cube = bpy.data.objects['Cube'] foo = cube.vertex_groups.new('foo') foo.add([1,3,5,7], 1.0, 'ADD') for i in range(len(cube.data.vertices)): try: weight = foo.weight(i) print('vert: %i weight: %f' % (i, weight)) except: pass foo.remove([1,3]) cube.vertex_groups.remove(foo)
2011-01-07another error in commit r34143, was using the define's 'BLEN' & 'DER_' ↵Campbell Barton
however the latter is incorrect since DER- is used for 64bit blend files. removed the define.
2011-01-07fix for error in own commit r34143Campbell Barton
2011-01-07- cmake use execute_process, exec_program is deprecated.Campbell Barton
- game engine builds without python again.
2011-01-07bugfix [#25457] Lack of update on undoing a lattice rigCampbell Barton
2011-01-07patch [#25490] Fix for [#22096] Blender tries to open non-blend fileCampbell Barton
from Alexander Kuznetsov (alexk) with edits. From the report: Blender assumed that all files are .blend as retval = 0; Now retval is initialized as file cannot be open (-1) for gzopen fail and directory case retval = -2; is defined for not supported formats This must be assigned before #ifdef WITH_PYTHON because this part can be missing Finally retval = 0; if it is a .blend file --- also made other edits. - exotic.c's blend header checking was sloppy, didn't check data was actually read, only checked first 4 bytes and had a check for "blend.gz" extension which is unnecessary. - use defines to help readability for BKE_read_exotic & BKE_read_file return values. - no need to check for a NULL pointer before calling BKE_reportf(). (will just print to the console) - print better reports when the file fails to load.
2011-01-07incorrectly documented return typeCampbell Barton
2011-01-07Fix/add OSX style text editing shortcuts to default keymapMatt Ebb
2011-01-07py/rna api speedup for collection slicing in all cases, rather then having ↵Campbell Barton
an exception for [:]. - avoid looping over the entire collection unless a negative index is used. - dont use the get index function for building the slice list, instead loop over the collection until the stop value.
2011-01-07bugfix [#25519] particlesystem, type hair, hair dynamics enabled: crash with ↵Campbell Barton
amount 0
2011-01-07bugfix [#25519] particlesystem, type hair, hair dynamics enabled: crash with ↵Campbell Barton
amount 0
2011-01-07fix [#25520] crash when closing the properties panel in uv/image editorCampbell Barton
don't draw the image if the size is 0. Crash was actually an assert() so debug builds only, replace assert() with BKE_assert() so crash is opt in build option.
2011-01-06Todo items:Ton Roosendaal
- Toobar views were reset on hide/unhide. Now they keep the view and zoom level. - Added operator to delete all unused 'space data', this to make clean startup.blend files, remove unused editors, and to be able to test starting defaults for editors. No hotkey, use search for "Clean-up space-data"
2011-01-06Todo item:Ton Roosendaal
Compositor: Texture Node now behaves like an image. - Image always in render output size - Buffer outputs RGBA and Value both supported - Works for filter and blur and scaling too. - Mixing 2 textures works Implementation note: The texture node was meant to be 'procedural', not a buffer but a color-sample method. Unfortunately the node editor didn't support this well, blur/filter/scale ignored it too. For now, its better to drop this procedural concept, then things work at least as expected. :)
2011-01-06Bug fix: Ton Roosendaal
On texture-space transform, pressing Rkey crashed. Now it refuses to enter rotation mode. :)
2011-01-06print_m3/m4 didnt use const char *, which gave an errror with passing ↵Campbell Barton
strings & pedantic warnings. also minor rename in bvh export
2011-01-06Todo item:Ton Roosendaal
Auto-texture space now is more responsive and correct. - on transforming it, the buttons get redrawn to show option was reset - on enabling option, texture space is recalculated/reset
2011-01-06bugfix [#25498] Projection paint clone tool leaves seamsCampbell Barton
2011-01-06bugfix [#25488] Game engine crash when try to run after blender app startCampbell Barton
- also found other places where utf8 isnt ensured. - remove duplicate NULL checks in object_edit.c
2011-01-06use ED_markers_get_first_selected() where possible, simplify ↵Campbell Barton
ed_marker_rename_exec
2011-01-06py/rna optimizations, will help for faster exporting.Campbell Barton
Speedup for getting collection indices, avoid getting the collection length unless a negative index is given. This avoids a loop over the entire collection in many cases. Speedup for getting collection slices by detecting collection[:] and internally calling collection.values(), this gives a big speedup with some collections because each slice item would loop over the list until that index was found. Rough test with 336 objects. - getting index of listbase collection ~ 5.0x faster - getting index of array collection ~ 1.15x faster - getting slices of listbase collections ~ 34.0x faster - getting slices of array collections ~ 1.5x faster
2011-01-06Markers Todo: Adding back "Rename Marker" operator (Ctrl M).Joshua Leung
As we don't have any dedicated text-input boxes anymore, this is a bit more clunky than it should optimally be.
2011-01-06== Long-Standing 2.5 Todo - Markers fully working again in allJoshua Leung
animation editors (DopeSheet, Graph Editor, NLA, Sequencer) == === Usage Notes === In animation editors, marker operators will only be considered while the mouse is hovering near/over the horizontal scrollbar (i.e. where the markers usually appear). That means, in order to do something to the markers, just position your cursor in line with the row of markers, and then use the same hotkeys you'd use in the TimeLine (so, unlike in 2.4x, no more need to hold down extra modifier keys for this case). In the TimeLine, nothing changes, so you don't need to worry about mouse placement there :) === Technical Details === Since early 2.5 versions, this functionality has been disabled, as the markers were always getting evaluated first, and hence "swallowing" all the events before the editor's own keymaps could access them. In order to get this working again, I've had to give every marker operator a "wrapper" invoke callback which performs some checking to ensure that the mouse is close to the markers (vertically) before the operator will try to be run. This wrapper also makes sure that once the operator has finished running, that if it didn't manage to do anything, then the editor's own keymaps get to have a go. The vertical tolerance used is currently 30 pixels (as was used for the borderselect operator). === Other Assorted Changes === * Gave marker operators dependent on having selected markers to operate on suitable poll() callbacks. These new poll callbacks ensure that there are selected markers for the operator to operate on, further cutting down the number of places where markers may override standard hotkeys (and avoiding calls to the wrappers too) * Simplified some of the selection code * Made some formatting tweaks for consistency, and in one case so that my text editor's function-list display doesn't get confused
2011-01-06Improve reliability when setting property editor context via rnaMatt Ebb
2011-01-06fix for error in own recent commit, r34098.Campbell Barton
2011-01-06fix for clang static check warnings.Campbell Barton
- convertblender.c, remove assignments to unused vars. - readfile.c, fix 2 possible crashes. null pointers were being checked for then used later without checking. - space_graph.c, use switch statement for automatic color assignment rather then a float array.
2011-01-06remove assignments which are unused.Campbell Barton
2011-01-05Bugfix, irc report:Ton Roosendaal
Outliner: using the object-data icons to enter editmode, didn't reset the toolbar Operator redo. It was not using an operator call here. Note to self: more outliner tools don't... Error was that operator-redo then would repeat an action incorrect.
2011-01-05Todo item: brought transform texture space back.Ton Roosendaal
Code changes are minimal, re-using the code as already was there. Options are in pulldown menu, or SHIFT+T and SHIFT+ALT+T Might be that Martin likes to see it different... do we need a special operatortype for it?
2011-01-05Get rid of uninitialized variable and malicios derived mesh relising.Sergey Sharybin
Pointer by llvn analyzer.
2011-01-05remove ED_retopo.hCampbell Barton
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-05Patch: [#22524] Update Windows Recent Documents on Open/SaveAndrea Weikert
Slightly modified to better fit in architecture (moved to related GHOST SystemPaths) Thanks to Harley Acheson for the research and for providing the original patch. Note: I added empty function for X11(Linux) and Mac (Carbon and Cocoa) to be implemented still.
2011-01-05fix for py/rna mesh.materials[:] where empty materials exist, would raise a ↵Campbell Barton
runtime exception. problem was there was no way to tell the difference between getting an empty item from a collection or the item not being found.
2011-01-05Fix #23604: external shadows for volume materials don't workBrecht Van Lommel
2011-01-05ToDo: long outstanding patch to allow access to system paths in background modeAndrea Weikert
Thanks Damien Plisson for contributing the Carbon and Cocoa implementation
2011-01-05Material slots: on adding a new one, the material datablock is now copied againBrecht Van Lommel
like in 2.4x. This can result in material datablocks you don't need, but not doing it seems to cause too much confusion.
2011-01-05Fix #25316: distorted subsurf UV in some cases. To counter distortion at seams,Brecht Van Lommel
we add extra creasing in the UV mesh, to keep it from shrinking, leading to distorted UVs, but this wasn't always working right, so tweaked the conditions.
2011-01-05Marker Bugfixes ("Make Links to Scene" operator):Joshua Leung
Some tweaks for this operator, found while scanning through the current state of the markers code. These seem to be correct judging from the overall direction the code is going in, though the intention of this operator seems a bit unclear from the naming. - Fixed potential issue where with only some markers selected (and the last one selected not being the last marker in the source scene), you could end up chaining the source and destination marker lists together improperly. - Clarified description/error messages...