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-20misc editsCampbell Barton
- rename define DISABLE_SDL --> WITH_SDL (which was already used in some places) - blenders interation preset was using orbit rather then turntable 3d view preference (different from factory defaults). - tagged some unused rna args.
2011-10-19Adds an update flag to the bNode struct (similar to bNodeTree->update).Lukas Toenne
This prevents access to non-existent typeinfo during type initialization, when node types have been removed and such nodes are deleted from older files. All blenkernel functions now only set the node->update flag instead of directly calling the update function. All operators, etc. calling blenkernel functions to modify nodes should make a ntreeUpdate call afterward (they already did that anyway). Editor/RNA/renderer/etc. high-level functions still can do immediate updates by using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged respectively). These old functions were previously used only for setting compositor node needexec flags and clearing cached data, but have become generic update functions that require type-specific functionality (i.e. a valid typeinfo struct).
2011-10-16Particle dupliobject rotation changes:Janne Karhu
There has been quite a bit of fuss about particle dupliobject rotation in 2.59, so here are some changes to make things work a bit more consistently and predictably in 2.60. Much of the confusion has been about what the "Initial rotation" for particles actually means. Simply put it's just a vector that that the particles (and the dupliobjects) are aligned to and around which they can be rotated with the phase controls. I've now renamed these controls under a label "Rotation axis". In 2.59 and previous versions the dupliobject's global x-axis was aligned to the particle rotation axis for non-hair particles. This meant that the object's own rotation (in addition to the particle rotation) could effect the dupliobjects' rotations. This old behavior can still be used with the "Rotation" option in the particle render panel when object/group is set as the visualization. This option is also activated automatically for old files to maintain backwards compatibility. Now the default dupliobject rotations ignore the object's own rotation completely and align the object's tracking axis to the particle rotation axis. The tracking axis can be found under the Object tab -> Animation Hacks panel. In 2.58 the way of calculating the rotation for hair didn't work as intended and enabled many non-functional combinations of options. For this reason I removed most of the rotation options for hair in 2.59. Now the options have been reimplemented better and the dupliobject's tracking axis is aligned to the hair direction by default (Rotation axis = Velocity / Hair). All the other axis options work too along with the phase controls.
2011-10-15spelling corrections in comments and quiet warningCampbell Barton
2011-10-15ensure BoneGroup names are kept unique.Campbell Barton
2011-10-14rename confusing constants (no functional change)Campbell Barton
- OB_BOUND_POLYT --> OB_BOUND_CONVEX_HULL - OB_BOUND_POLYH --> OB_BOUND_TRIANGLE_MESH
2011-10-13ensure grease pencil layer names are unique when set through rna.Campbell Barton
2011-10-10add in empty modifier slot so dynamic paint files don't break.Campbell Barton
2011-10-10move NavMesh draw code out of being a modifier and into DerivedMesh drawing ↵Campbell Barton
hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
2011-10-08fix [#28846] Relative paths on linked scene failsCampbell Barton
2011-10-07Scene.GameData DNA alignment nitpickingDalai Felinto
* "structures are always multiples of 8 bytes in size" (adding two pads for RecastData) removing some unecessary pads. Moving others to make pad counting easy. (although this patch is not highly needed in trunk it will help cucumber merging) This could probably fixed the problem address at rev.40084
2011-10-04bge bugfix: navmesh collision flag disputing with glsl_color_manag.Dalai Felinto
The solution is to make the flag in to an int in oppose to short. This will also help in cucumber where we ran into the same problem.
2011-10-03add macro OB_TYPE_SUPPORT_MATERIAL, type checks were being done inline, some ↵Campbell Barton
comparing range, some using ELEM#(), once was missing metaball check.
2011-10-02enable cmake building makesdna with ghashCampbell Barton
2011-09-30minor changes, dont append with cmake platform flags which is a string and ↵Campbell Barton
use enum values rather then ints in a few places.
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-29Fix #28769 & #28768: problem with duplicated keymap items after fix yesterday.Brecht Van Lommel
2011-09-28fix 2 bugs with reset-default failing on operators redo panel.Campbell Barton
- The operator its self was registered so resetting the defaults would unhelpfully replace the toolbar with the reset to defaults operator panel. - The callback for the operator wasnt being used so the settings were changed but the operator didnt re-run.
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-20Reserved modifier enum for Dynamic Paint to not break save files again.Miika Hamalainen
2011-09-20Merging r40366 through r40392 from trunk into soc-2011-garlicsoc-2011-garlicSergey Sharybin
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-19Merged 40338-40364soc-2011-radishJason Hays
2011-09-19i18n: code cleanup and fixing unneeded translation (when partial translation ↵Sergey Sharybin
is used only)
2011-09-19svn merge -r40222:40344 ^/trunk/blenderSergey Sharybin
2011-09-19cleanup endian handlingCampbell Barton
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons. - ENDIAN_ORDER is now a define rather than a global short. - replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__) - remove BKE_endian.h which isn't used
2011-09-19edits to radish before merge with trunkCampbell Barton
- removed some unused functions. - renamed vars to make more sense paint_vertex.c 'flags' --> 'lock_flags' - some odd modifications were made in unrealted, commented code, copy these back from trunk. - rename vertex_group_fix 'cp' property to 'accuracy' - make style more consistant with trunk. - remove 'Radish' comments.
2011-09-18Split do_weight_paint_vertex() to isolate the simple case.Jason Hays
Added a tool-tip to the "fix deforms" op. Removed code markers: "Radish"
2011-09-18Changed the branch code markers to say "Radish" in response to a review.Jason Hays
They weren't & aren't meant to show ownership, they just help me navigate my related code.
2011-09-18svn merge -r40197:40311 ^/trunk/blenderCampbell Barton
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-15Fixing issues with i18n stuff:Sergey Sharybin
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
2011-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin
2011-09-14- move vgroup lock buttons on the panel into the vgroup specials menu.Campbell Barton
- merge object.vertex_group_lock_all / object.vertex_group_invert_locks / "object.vertex_group_unlock_all into one operator. - change lock button from a checkbox to a lock icon.
2011-09-14- use a flag define for bDeformGroup->flag rather than setting TRUE/FALSECampbell Barton
- rename RNA bDeformGroup.flag to "lock_weight"
2011-09-13svn merge -r40000:40179 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-13svn merge -r39900:40000 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-13svn merge -r39558:39800 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-09-11move maxseq define into DNA.Campbell Barton
2011-09-10Fixing bugs after Recast & Detour branch mergeBastien Montagne
*The eModifierType_NavMesh enum define was added before WeightVG ones, in ModifierType, breaking file load for WeightVG modifier. New modifier should always be added at the end of that enum!
2011-09-10recast and detour patch now builds again with GCCCampbell Barton
- rearrange structs to work for 64bit - define all vars before goto's - ifdefs for qsort_r/qsort_s - dont cast pointers to int only for NULL checks - dont printf STR_String directly, get the char pointer from it also minor change to gpu py module, no need to pass empty tuple to PyObject_CallObject, can just be NULL
2011-09-09svn merge -r 40061:40078 ↵soc-2010-nicksBenoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-09Patch [#23443] Change outliner filter into searchJoshua Leung
Shane Ambler (sambler) for this 12-month vintage! From description: One thing with the outliner filter box is it only filters items that are currently visible. To find what you want you need to manually expand a few levels so that what you want to find is visible. This small patch expands items when filtering is done - effectively turning it into a search. Currently this does not alter the datablocks view as expanding all entries takes waaaay tooooo long. I prevent the expansion of RNA entries for userprefs which prevents infinite recursion but the datablocks list is just too big for this approach. I think it would need a custom outliner_build_tree for a full search.
2011-09-09svn merge -r 39975:40061 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-09SVN maintenance.Guillermo S. Romero
2011-09-07svn merge -r 37306:39975 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07Apply patch [#28415] 3d mouse orbit mode individual axes enhancementNathan Letwory
Submitted by Rainer Wahler This patch enables individual axis inversion in trackball mode.