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-02-16synched with trunk at revision 34793Nick Samarin
2011-02-12- resource leak in pointcache, opendir without closedir()Campbell Barton
- reading pointcache was using an incorrect, always NULL variable. - commented NDof code, was giving warnings and isnt used now.
2011-02-11Bugfix #26021Ton Roosendaal
On certain buttons, and only when not in triple buffer, pressing RMB "Add shortcut" crashed Blender. NULL check missing.
2011-02-11Fix #26039: Relative Shapkeys have wrong coordinates after inserting verticesSergey Sharybin
There was invalid memory access for newly created vertices. Added checking of keyindex value when calculating verticies offsets.
2011-02-11Removed the internal_select parameter from ntreeCopyTree. This was used just ↵Lukas Toenne
in one place when duplicating nodes, which is not an actual copying of the tree. The node duplicate operator now copies selected nodes itself.
2011-02-11BGE: frame start/end in action/fcurves/shapekey to support floatsDalai Felinto
after discussion over the mailing-list it seems that it really makes no sense to restrict that. Specially since we have the "Property" playback mode that usually will be a float. Since there is no need for do_version or whatoever I don't see a problem. Any Thoughts? Maube to allow it only through the Python API?
2011-02-10Different method for blur node aspect correction. Now the user can still set ↵Lukas Toenne
different sizes for x/y blurring in relative mode, but choose to use aspect correction on either of the axes.
2011-02-10More options for the blur node filter size. This can now be pixel based or ↵Lukas Toenne
relative to both axes or just either width or height.
2011-02-10Bugfix #26013Ton Roosendaal
Good discovery this one. It appeared that "pose mode" changes were not registered in our undo system. That way the first operator you try to redo after exit posemode fails.
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-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-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-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-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-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-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-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-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-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-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.
2011-02-07remove mat_nr from MVert struct, saves 4 bytes per vertex.Campbell Barton
used to be used for halo's
2011-02-07Argh! This code is haunted... (line 666) compiler here isn't barfingJoshua Leung
on these errors tonight :/
2011-02-07fix [#25926] lattice + projection on surface snap issueCampbell Barton
2011-02-07Bug fix: adding force fields from the add menu didn't sort the depsgaph, so ↵Janne Karhu
hair didn't update straight away to force field settings changes.
2011-02-07Compiling commit for previous commit...Joshua Leung
2011-02-07Visual Keying Code Tweaks:Joshua Leung
Moving this code to the same method as is used for Apply Visual Transform (for bones case), which uses standardised decomposition methods instead of the improvised ones used here before. This was in an attempt to get IK chains Visual Keyed correctly, though this doesn't seem to have improved the situation much. Also, the decompositon for objects here now takes care of euler rotation modes. TODO: other rotation modes should get included here too...
2011-02-07Bugfix [#25934] "Apply Visual Transform as Pose" not working?Joshua Leung
Simplified the code for Apply Visual Transform as Pose. This makes it work for IK chains now, since there aren't any recalculations of the pose involved now, which were contributing to the pose getting incorrect as the applying process went on, since the IK chain was getting calculated differently with each successive change to the chain.
2011-02-07Type checks for internal ID-Property UI min/max/tip & use defines to get ↵Campbell Barton
values from ID-Props. Probably wouldn't cause a problem but manually editing these types through python could easily crash blender. also changed cmake, stub-makefile default build dir to be lower case and leave out architecture string, easier for documentation. Use ../build/linux/ rather then ../build/Linux_i686/
2011-02-07PoseLib Bugfix:Joshua Leung
When using Pose Lib with a search string, if the search fails after typing a character and then you try to backspace to get back to the previous search string, the pose does not refresh until you type in another valid letter such that the search works again. Did a logic reshuffled in the get next preview pose function so that this is dealt with properly
2011-02-07- own error with sound unpack operator using NULL pointerCampbell Barton
- make stub now creates 'Release' build by default.
2011-02-07PoseLib Preview/Browse Bugfixes:Joshua Leung
- [#25951] Hardcoded Keys in PoseLib modal operator register twice per use Now only the KM_PRESS events are handled. KM_RELEASE events for these are ignored... - While checking the above, I also found that the view-manipulation while previewing functionality was broken. This was one of the benefits of this UI approach over a fixed screenshot-only listview. Fixed now :)
2011-02-06Two in one:Ton Roosendaal
- Bugfix #25937 Child-of constraint now behaves like regular parent-child relationship when all options are set. This prevents the errors that can happen when decomposing non-uniform matrices. - Todo item The area corner hotspots for splitting/merging were far too narrow. Now it uses a circular distance to detect whether the hotspot is active. Also cleaned up drawing code for it.
2011-02-05todo list item:Ton Roosendaal
3D View: In quad-view mode, the options to set back/bottom/left views were blocked. Now they work again. Note: the oparator polls don't have a check for properties... so it cannot be finegrained here. Checks are inside code.
2011-02-05Bugfix #25944Ton Roosendaal
Save image (F3) didn't remember the last saved path on 2nd use.
2011-02-05Fix bones moving when changing between editmode and posemode.Brecht Van Lommel
Patch #25901 by Tobias Oelgarte. Bone transformations would be converted back and forth between different representations when changing modes, which due to numerical errors could lead to bone transformations slowly changing as you edit the armature. Now the editmode head, tail and roll values are stored in bones and used directly when entering edit mode. Head and tail were already there but now we ensure they are the exact same value, roll was not yet there, so we have a version patch for it. The sub version was incremented to 1 for the version patch.
2011-02-05Logic UI: multiple fixes on Constraint ActuatorDalai Felinto
1) damping factor is not percentage (it's in frames, who would know that) 2) angles as degrees (cleaning the tooltips for those too) 3) setting Direction to None when changing from Loc and Fh Consts to Ori - negative axis is not supported in Ori Const. Buggy since ever (2.49).
2011-02-05- Drivers should now be updated correct when curve changes topologySergey Sharybin
- Fixed regression with keeping alive f=curves for deleted CVs (was a mistake in previous commit in this area)