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-10-12Workaround for #28864: crash rendering out file with audio, due to scene audioBrecht Van Lommel
channels being set to invalid value 0. The cause of this is unclear, this adds a version patch just to be safe, in case it turns out to be a common issue.
2011-10-12Fix for #28876, alpha over with empty image node gives black result.Lukas Toenne
The image node output is the default value when no image is selected. In pre-2.60 this was always initialized to 0 alpha, the defaults written in the node socket templates were completely ignored for outputs (except for value and RGB input nodes, which use these as button values). Now the stack values are initialized with the template defaults, which are all 0 by default. This patch changes alpha to 0 for image and render layer outputs too.
2011-10-10Fix #28857: 2.60 rc1 regression?Sergey Sharybin
If displacement mapping is used, normals shouldn't be flipped.
2011-10-10fix [#28860] CRASH loading sceneCampbell Barton
Sequence strips with missing scenes were missing a NULL check.
2011-10-06Fix #28819: Normal Maps appear inverted in GLSL shader and offline renderer ↵Sergey Sharybin
(2.6rc1) Caused by recent bump maps flip commit. If texture is used as Normal Map it's normal factor shouldn't be flipped.
2011-10-06fix [#28113] ZTransp flag is not imported correctly from 2.49 filesCampbell Barton
infact this only changes a setting which is ignored. but may as well keep whats set in 2.4x.
2011-09-30Bump maps flip: now white means salience, black means concavitySergey Sharybin
Files created in blender before this revision should be rendered in exactly the same way they used to render before. Patch by Morten Mikkelsen, finished by Ton and me.
2011-09-30Recast: upgrade library.Benoit Bolsee
- Upgrade Recast library to latest portable version - Implement recast_qsort based on FreeBSD qsort.c to have portable thread safe quick sort for use in conversion routine. - Better default value for the Build Navigation Mesh operator
2011-09-28dont give an error on when texface conversion fails on load. give a warning ↵Campbell Barton
instead. this is needed because python converts report errors to exceptions (as if the file load operator couldn't complete), but infact it does load the file so rather then stopping the script, just report this as a warning.
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-25Fix some MSVC 2010 warnings (including one apparent bug in ↵Andrew Wiggin
intern/elbeem/intern/solver_relax.h)
2011-09-25whitespace cleanupCampbell Barton
2011-09-25Committing patch #27442: Adaptive time step for fluid particles. The number ofAlex Fraser
subframes can now be altered automatically while an SPH (fluid particle) simulation is running.
2011-09-22Remove checks for voxel data when texture type is known.Sergey Sharybin
2011-09-22Corrected fix for #28722: Segfault when reading volumetric clouds exampleSergey Sharybin
Looks like with current implementation voxeldata should always be created for voxel textures. Remove recently added NULL check and allocate voxel data when linking a texture.
2011-09-20- translation scripts now run with py3.xCampbell Barton
- added convenience make target 'make translations' - some MEM_malloc strings were not unique enough, expanded them.
2011-09-20changes for materials to treat them as shorts not int/chars (since they are ↵Campbell Barton
stored as shorts intermally) - converting nurbs to mesh was casting the material to unsigned char. - subsurf was casting to char, then int -> short in a loop. - have material functions take & return shorts.
2011-09-19TexFace to Material Settings big patchDalai Felinto
Summary: ======== The idea here is to move the texface options into the material panel. For images with the change please visit: http://code.blender.org/index.php/2011/09/bge-material-texface-changes 1 - Some of the legacy problems 2.49 and 2.5x has with the texface system: ========================================================================== 1.1) Shadow, Bilboard and Halo are mutual exclusive (in the code), yet you can select a face to be more than one mode. 1.2) Sort only works for blend Alpha yet it's an option regardless of the Transparency Blend you pick. 1.3) Shared doesn't affect anything in BGE. 1.4) ObColor only works for Text objects (old bitmap texts) when using Texture Face Materials. (not address yet, I so far ignored obcolor) 2 - Notes: ============ 2.1) Now "Use Face Textures" in material Option panel will work in Multitexture even if there is no texture channel. 2.2) In FaceTexture mode it will use TexFace all the time, even if you don't check the "Use Texture Face" option in the UI. It's a matter of decision, since the code for either way is there. I decided by the solution that makes the creation of a material fast - in this mode the user doesn't need to mess with textures or this "Use Texture Face" option at all. I'm not strong in my opinion here. But I think if we don't have this then what is the point of the Texture Face mode? 2.3) I kept references for tface only when we need the image, UV or the tiling setting. It should help later when/if we split the Image and UV layers from the tface struct (Campbell and Brecht proposal). 3 - Changes in a Nutshell: ========================== 3.1) "Texture Face" panel (in the Mesh/Object Data panel) no longer exists. Those settings are all part of the material properties, visible when Game Render is set. 3.2) "Texture Face" Shading mode (in the Render panel) is now called “Single Texture”, it needs a material for special settings (e.g. Billboard, Alpha Sort, …). 3.3) New options in the Material Panel * Shadeless option in the Material panel is now supported for all three Shading modes. * Physics is now toggleable, this is the old Collision option. * Two Side (on) is now called Back Culling (off). * Alpha Sort is one of the Alpha options, together (and mutually exclusive) to Alpha Blend, Alpha Clip, Add and Opaque (i.e. solid). * Shadow, Billboard and Halo are grouped in the “Face Orientation” property. * "Face Textures" and "Face Textures Alpha" (under Options) can be used for all but GLSL shading mode (to be supported in GLSL eventually). * The backend in the game engine is still the same as before. The only changes are in the interface and in the way you need to think your materials. The bottomline is: It’s no longer possible to share materials between faces that do not share the same game properties. 4 - Acknowledgment: ================== Mike Pan for the design discussions, and testing along the whole development process. Vitor Balbio for the first hands-on code with the interface changes. That helped me a lot to push me into work on that. Benoit Bolsee and Brecht van Lommel for patch review (* no one reviewed the whole patch, or the latest iteractions, so I still hold liability for any problems). Blender artists that gave feedback and helped testing the patch. Patch review and original documentation can be found here: http://wiki.blender.org/index.php/User:Dfelinto/TexFace http://codereview.appspot.com/4289041/
2011-09-18fix for crash loading a file saved with fluidsim when blenders compiled with ↵Campbell Barton
it disabled. also remove unneed class prefix on function name for itasc.
2011-09-17Nodes: fix nodes in groups not getting socket templates verified, and reserveBrecht Van Lommel
some socket flags for cycles to avoid conflicts.
2011-09-16- remove deprecated pose channel membersCampbell Barton
- change short -> char for flags that support it. - add pose 'temp' pointer to use for outliner drawing (was using 'prev' and restoring which seems dodjy)
2011-09-15replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.Campbell Barton
also replace strcpy's which copy using "" with str[0]='\0'
2011-09-09svn merge -r 39975:40061 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07svn merge -r 37306:39975 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07Merging r39948 through r39988 from trunk into vgroup_modifiers.vgroup_modifiersBastien Montagne
2011-09-06Node merge: fix crash loading files with unknown nodes (e.g. cycles files).Brecht Van Lommel
2011-09-06Node merge: some forward compatibility code to avoid crash loading files withBrecht Van Lommel
node groups in older version, and to keep unconnected/default socket values.
2011-09-06Fix for node group add menu, groups from old files wouldn't show up there.Lukas Toenne
Reason was that node trees are now associated to specific node types (NODE_GROUP in particular) by the ntree->nodetype id.
2011-09-06Backward compatibility fix for SOCK_DYNAMICS flag on group sockets.Lukas Toenne
This is currently only needed for displaying the up/down buttons of group sockets. All regular group sockets should have this flag to indicate they are added by the user. More complex "group-type" trees may use non-dynamic sockets in the future for sockets that are not supposed to be manipulated.
2011-09-06svn merge -r39930:39947 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-06Merged the particles-2010 branch with node improvements into trunk.Lukas Toenne
This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too. Detailed information can be found on the wiki page: http://wiki.blender.org/index.php/User:Phonybone/Particles2010
2011-09-01Merging r39652 through r39842 from trunk into vgroup_modifiers.Bastien Montagne
2011-08-30Fixes for snprintf usage:Brecht Van Lommel
* replace by BLI_snprintf in various places, note _snprintf on windows does not properly null terminate the string. * fix overflow in sequencer proxy code due to buffer being smaller than specified size. * fix some usage of snprintf as strcpy, this is will go wrong if the string contains % characters. * remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29* Reverting Titlecard commit r37537Joerg Mueller
* Reverting update recent files commit r37155 * Turning reference counts into unsigned ints * Minor things
2011-08-28== Sequencer ==Peter Schlaile
This patch adds: * support for proxy building again (missing feature from Blender 2.49) additionally to the way, Blender 2.49 worked, you can select several strips at once and make Blender build proxies in the background (using the job system) Also a new thing: movie proxies are now build into AVI files, and the proxy system is moved into ImBuf-library, so that other parts of blender can also benefit from it. * Timecode support: to fix seeking issues with files, that have a) varying frame rates b) very large GOP lengths c) are broken inbetween d) use different time code tracks the proxy builder can now also build timecode indices, which are used (optionally) for seeking. For the first time, it is possible, to do frame exact seeking on all file types. * Support for different video-streams in one video file (can be selected in sequencer, other parts of blender can also use it, but UI has to be added accordingly) * IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since older versions don't support the pkt_pts field, that is essential for building timecode indices. Windows and Mac libs are already updated, Linux-users have to build their own ffmpeg verions until distros keep up.
2011-08-27- use %u rather tham %d for unsigned ints in string formatting funcs.Campbell Barton
- replace (strlen(str) == 0) with str[0]=='\0'
2011-08-24fix [#28352] Deleting group name in particle system -> panel: Render crashes ↵Campbell Barton
Blender
2011-08-23Merging r39486 through r39651 from trunk into vgroup_modifiers.Bastien Montagne
2011-08-23Merging trunk up to r39637.Joerg Mueller
2011-08-22rename NAN_BUILDINFO --> WITH_BUILDINFOCampbell Barton
2011-08-20floats were being promoted to doubles in quite a few cases (using gcc's ↵Campbell Barton
-Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
2011-08-093D Audio GSoC:Joerg Mueller
Improved waveform drawing in the sequencer. * Drawing the waveform of a sequencer strip is now independent from whether the sound is cached or not. * Improved drawing of the waveform in the sequencer (especially speed!). * Making it possible to vertically zoom more in the sequencer to better see the waveform for lipsync. * Fixed a bug which crashed blender on loading a sound file via ffmpeg.
2011-08-09Merging r38818 through r39198 from trunk into vgroup_modifiers.Bastien Montagne
2011-08-07Merging trunk up to r39145.Joerg Mueller
2011-08-073D Audio GSoC:Joerg Mueller
* Pepper depends on ffmpeg 0.7.1 or higher now, windows and mac build systems set to ffmpeg-0.8 * Fixed orientation retrieval in OpenAL device code. * Added stopAll() method to AUD_IDevice (also for Python) and call it on BGE exit * Changed BGE to use audaspace via native C++ instead over the C API. * Made AUD_SequencerFactory and AUD_SequencerEntry thread safe. * Changed sound caching into a flag which fixes problems on file loading, especially with undo. * Removed unused parameter from sound_mute_scene_sound * Fixed bug: changing FPS didn't update the sequencer sound positions. * Fixed bug: Properties of sequencer strips weren't set correctly. * Minor warning fixes.
2011-08-06KEYMAP REFACTORINGBrecht Van Lommel
Diff Keymaps User edited keymaps now no longer override the builtin keymaps entirely, but rather save only the difference and reapply those changes. This means they can stay better in sync when the builtin keymaps change. The diff/patch algorithm is not perfect, but better for the common case where only a few items are changed rather than entire keymaps The main weakness is that if a builtin keymap item changes, user modification of that item may need to be redone in some cases. Keymap Editor The most noticeable change here is that there is no longer an "Edit" button for keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps and items that have been edited. Shortcuts for addons can also be edited in the keymap editor. Addons Addons now should only modify the new addon keyconfiguration, the keymap items there will be added to the builtin ones for handling events, and not get lost when starting new files. Example code of register/unregister: km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D") km.keymap_items.new('my.operator', 'ESC', 'PRESS') km = wm.keyconfigs.addon.keymaps["3D View"] km.keymap_items.remove(km.keymap_items["my.operator"]) Compatibility The changes made are not forward compatible, i.e. if you save user preferences with newer versions, older versions will not have key configuration changes that were made.
2011-08-05change BLO_library_append_begin to take a main argument rather then a ↵Campbell Barton
context, means the BGE doesnt need to make a new empty context just to pass as an arg. added doxygen description too. this quiets the print when the BGE does linking.
2011-08-05BGE Animations: Moving the do_versions code for the actuators back into the ↵Mitchell Stokes
"put compatibility code here until next subversion bump" block. It got sucked into the 2.58.1 block during a merge sometime.