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-02-10mesh validation: bugfix for removing doubles, another fix coming...Campbell Barton
2011-02-10Bugfix [#26004] compositor: backdrop zoom factor too smallJoshua Leung
The backdrop zoom factor for new node-editor instances was not set (i.e. was default initialised to 0). Now, this gets set to 1.0. Also, set the property default in RNA to match this.
2011-02-10Bugfix [#26002] Outliner Visible layers + Single object & data = brokeJoshua Leung
conections It seems that some of the Outliner hacks used while building the tree was causing problems, as Make Single User (and potentially other code working with ID-data, specifically with the "newid" value there) was making use of the variable used there for other purposes, leading to memory corruption. This bug also occurred in 2.4x, though when I tested there, it crashed immediately. Ton, you may want to double-check this bug!
2011-02-10Small consistency fixupsJoshua Leung
2011-02-10mesh.validate() now returns True if any corrections were made.Campbell Barton
tested that correcting invalid meshes works by generating random meshes and checking that only the first call to mesh.validate() makes changes. found 2 bugs in mesh validation. - face sorting array wasn't assigned correct indices. - removing invalid edges used wrong comparison.
2011-02-10Bugfix [#25831] Sorting channels brokenJoshua Leung
Recoded animation channel sorting code. In particular, the old code didn't handle "islands" of selected items well (i.e. a chain of several connected items in a row), with some of these cases having unpredictable results. There were also some bugs in the way some of the rearranging methods worked, allowing some invalid operations to be performed. Some of these probably triggered errors such as some channels getting stuck, and so on.
2011-02-10fix [#26003] Twice applied modifier with Convert to mesh with several ↵Campbell Barton
multi-user objects convert_exec could do with a re-write, getting quite confusing. update md5's for ctest results and some renaming in mesh_validate code.
2011-02-10small fix so older files are loaded with merge on in the mirror modifiersMichael Fox
2011-02-10Set default for merge mirror to ONDaniel Salazar
2011-02-10small feature request from zanqdo, merging in the mirror modifier is now ↵Michael Fox
optional, simply turning town the merge limit just simply do anything, and merging is off by default as this seems more logical behaviour
2011-02-09Update mesh normals when undoing sculpt stroke to prevent shadingSergey Sharybin
artifacts in some cases (enter edit mode/disabling modifiers after undo)
2011-02-09fix [#25994] Meshes with no vertices gets NaN location on setting origin to ↵Campbell Barton
geometry
2011-02-09BKE_mesh_validate() now corrects invalid meshes (optionally), added access ↵Campbell Barton
for python so it can correct for bad imported geometry - mesh.validate().
2011-02-09Restoring the old behavior of switching texture context based on active tab:Janne Karhu
* Once again switching to texture panel from material, world or lamp data tab sets the texture context automatically to the "parent context".
2011-02-09use static functions rather then defines for internal ↵Campbell Barton
matrix__apply_to_copy() and similar. + other minor internal changes.
2011-02-09fix [#25968] Crash on changing merge distance in array modifier with ↵Campbell Barton
edgesplit modifier in chain
2011-02-09bugfix [#25523] Face extrude will crash Blender if array and subsurf ↵Campbell Barton
modifier are added to mesh object test_index_face() failed to fix indices like (6,0,0,6), making it (0,6,6,0).
2011-02-09SVN maintenance.Guillermo S. Romero
2011-02-09move validation into blender kernel so it can be called by internal modifier ↵Campbell Barton
funcs more easily.
2011-02-09Graph Editor: Added option to turn off AA drawing for performanceJoshua Leung
gains when using really heavy files
2011-02-09mesh validation function to report errors and help debug bad data generated ↵Campbell Barton
by modifiers. detects... - invalid vertex range for edges/faces - duplicate indices in edge/face - duplicate edges/faces in mesh - missing edges data in faces At the moment it doesn't correct errors, but eventually it will do this.
2011-02-09Fix for rendering procedual bump maps, mapped in world space, since the new ↵Michael Fox
bump map kernel uses direction, this bug became a real issue, with bumps suddenly changing direction Fix provided due to a long session on IRC with Morten S. Mikkelsen (sparky_)
2011-02-09Old animation conversion code cleanups:Joshua Leung
- Tidying up some inconsistent formatting - Names of old IPO blocks are now included in the names used for new actions. These are included after a "CDA:" prefix, (i.e. "_C_onverted _D_ata _A_ction:"), which makes it easier to browse through these actions later.
2011-02-09Bugfix [#25987] Duplicated markers naming issueJoshua Leung
One-liner fix - a missing "OPERATOR_FINISHED" on the select operator was causing problems renaming markers and potentially with other operations too! To find this bug, I added debug method to dump the list of markers to console. This has revealed some troublesome things about the way markers are organised, which IMO need to be addressed.
2011-02-09Bugfix [#25990] backward compatibility with ShapeKey Actions :: 2.49Joshua Leung
-> 2.50 Actionified ShapeKey IPO-blocks (i.e. "Shape Key Actions") would have an action channel with the hardcoded name, "Shape", and this action would be assigned to Object level (although ShapeKey blocks had their own IPO-block slot, only Objects could have actions, so actionifying ShapeKey IPO-blocks would wrap a ShapeKey block's IPO's to an Object- level action). Hence, the path conversions code would wrongly interpret this action channel as referring to a Pose Channel instead, thus creating some invalid paths with a 'pose.bones["Shape"]' prefix wrongly getting tacked on. To ensure that the converted animation can work out of the box, a 'data.shape_keys' prefix is now used instead so that these actions can still be Object-rooted while still being able to correctly control the Shape Keys. This is because there's no easy way to identify and then shift such action from Object-level to ShapeKey- level within the conversion code. The consequence though is that such converted ShapeKey actions CAN ONLY BE USED THROUGH OBJECT LEVEL (i.e. via Action NOT ShapeKey editor). Secondly, the Action/ShapeKey editor version patching code has been modified so that if a ShapeKey editor view was active when loading an old 2.4x file, the action gets cleared from the view. This is because of this didn't make semantic sense: the ShapeKey editor is for ShapeKey-rooted actions, while the Action Editor is for Object-rooted actions. The converted files though let Object-level actions be shown in either one.
2011-02-09ignore __pycache__ dir for scons and cmake installation (py3.2 caches ↵Campbell Barton
modules here).
2011-02-08bugfix [#25969] GLSL missing an update on texture slot changeM.G. Kishalmi
what did I learn from this? "if at first you don't succeed.. you're not kaito." ;)
2011-02-08Texture context selector for texture panel:Janne Karhu
* Texture context was previously determined by going to the appropriate panel, for example "world panel -> texture panel" to access world textures. Additionally there was a separate button to access brush textures. * Now the texture context can be selected directly through an expanded icon menu, which shows the available context options. * This context selector is now at the top of the texture panel, but this could later be perhaps integrated to the context path somehow to be more intuitive.
2011-02-08Bugfix #25957Ton Roosendaal
RMB click in InfoWindow "console log" was missing call to set subwindow, needed because it uses opengl picking to find active lines. Result was that entire UI was glCleared, for some buffer swap methods.
2011-02-08fix: latest shader wasn't working on itel gfx-cardsM.G. Kishalmi
couldn't use a = ( float_function() < 0 )? b: c; for whatever reason.
2011-02-08Per-type node labels and customizable names. The label displayed in the node ↵Lukas Toenne
header is now by default the node type string. A custom label callback can be implemented to display more detailed information. This is currently used by group nodes, which display their internal tree name, and math, vector math, mix and filter nodes, which use their internal operation sub-type. Also the node tree selection/naming box for groups is now displayed only on open groups, to make it clearer that this is the internal type of the group and get a cleaner main tree.
2011-02-08add back options for loading a renderlayer to offset the image when copying ↵Campbell Barton
the buffer to a smaller renderlayer. This was reverted by Brecht r22541 because its inefficient but there is no way to work around this with povray at the moment so adding it back as optional args.
2011-02-08Text Editor Bugfixes:Joshua Leung
The poll() callbacks used in the Text Editor for scrolling and text- block unlinking operators were too restrictive when the text block was lib-data. - Scrolling lib-linked texts is useful for just checking out parts of the linked-in file that aren't visible on screen already. For example, checking the specific rig that some UI panels script will work on, or reading a "README.txt" linked in with notes on which layers various controls are on. It should be fine that this temporarily modifies the linked text-block (but for view-settings which will can be reset later/on file load without any real consequences). - Unlink operator should be able to be run, otherwise it would be very difficult to remove linked files from a file (?)
2011-02-08Group node type info is now also initialized with helper functions.Lukas Toenne
2011-02-08Finished the node type definition cleanup started in r34682. All static node ↵Lukas Toenne
types should now use the node_type_* definition helpers to initialize their bNodeType structs.
2011-02-08problem with blender and python 3.2Campbell Barton
- python 3.2 does 'import site' on startup which now tries to parse pyconfig.h which isn't copied. so for now just run without importing 'site', alternative would be to copy the header file for posix systems. - cache PYTHON_VERSION variable so it can be set to 3.2, needed for copying python installation's other then 3.1.
2011-02-08Bugfix [#25814] ChildOf constraint: double transformation in objectJoshua Leung
mode with drivers ChildOf constraints added using the PoseBone.constraints.new() method via Python scripts instead of using the operator (this latter method is still the preferred/recommended method) were not getting some critical flags set, causing errors arising from space conversions being performed more than once.
2011-02-08fix [#25975] Quaternion/Vector.negated() isn't availableCampbell Barton
theres no need for value.negated(), better use -vec / -quat. however -quat didn't exist.
2011-02-08Change in behavior to shrinkwrap modifier's offset value with negative enabled.Campbell Barton
- negative ray casts would invert the offset direction. this meant if positive and negative were enabled at once and the mesh was slightly inside & outside the object it wrapped, the offset would be applied in opposite directions. This way the offset is always along the vertex normal. - allow negative offset from RNA, could be useful and no benefit to disable.
2011-02-08fix [#25801] Shrinkwrap Offset problems with Project mode.Campbell Barton
The positive result from the previous ray-cast is used again, inadvertently negating the offset from the first hit (acts as if no offset is applied).
2011-02-08un-initialized flag used with commit r34695.Campbell Barton
2011-02-08fix own error in recent commit [#25970] cannot create scale matrix after ↵Campbell Barton
mathutils updates
2011-02-08Bugfix: Constraint target validation code was brokenJoshua Leung
While testing Apply Visual transforms last night, I noticed that setting a constraint to use its owner as its target was allowed and didn't trigger any warnings. This clearly doesn't do any good and is different from the old behaviour.
2011-02-08minor edits, no functional changes.Campbell Barton
- BGE was getting MCol array and not using it. - use list lookup functions for getting constraint from pose bone. - use const char * in more places.
2011-02-08GLSL shader partM.G. Kishalmi
bump-mapping update to properly support multiple textures in different bump-spaces.
2011-02-08bump-mapping update to properly supportM.G. Kishalmi
multiple textures in different bump-spaces. kudos to M.L.Mikkelsen (sparky) for helping with the math! :)
2011-02-07Logic UI: Game Actuator options renamingDalai Felinto
After talking with Ton Roosendaal we agreed on making those changes. I wonder if we should go for "Start Game" instead of "From File". But Space is not a constraint here so be it.
2011-02-07Logic UI: Armature Actuator + general Captalizing 1st letter of UI textDalai Felinto
- Armature Actuator now only shows the "Secondary Target" option when the Bone Constraint supports it (IK only now). -- that may be overkill I don't know. It shouldn't slow down the UI considerably, so it should be fine. Easy to revert if needed though. - renaming things such as "Start frame" to "Start Frame"
2011-02-07Bugfix 25965Ton Roosendaal
New "auto render" now prevents calling anim-updates, that's not needed (and popped back transformed keyed objects).
2011-02-07Todo/feature requestTon Roosendaal
When using masks or other simple 3D elements in composites, doing a layer re-rendering on a node is a bit clumsy all the time. This commit does two things to help: - new hotkey "Z" in node editor automatically finds render layer that changed and re-renders it + composites - option "Auto Render" does same, but then after every transform edit in 3D window The latter is experimental; real & proper system for this requires full threaded render support (like previews). But it works! Demo file: http://download.blender.org/demo/test/auto_composite.blend Important fix: After any render, all the render layers were tagged "changed", which caused any edit to first totally recomposte everthing. Now it only composites changes. Implementation notes - DAG scene flush now sets 'changed' flags in render layer nodes - Added notifier for 'transform finished' to trigger the update, this is temporarily.