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-01-27internal changes, script writers won't notice.Campbell Barton
disable getattr metaclass forwarding attributes from the python class, eg: bpy.types.Scene.foo != bpy.types.Scene.bl_rna.properties['foo'] ... This was convenient but too tricky to properly maintain with attribute assignment and attributes defined within the class. avoid doubles in dir() by converting to a set and then back to a list.
2011-01-27Bugfix [#25823] When objects are parented to the same objects thatJoshua Leung
they have some rotation-affecting constraint (i.e. Track To and Copy Rotation) targetting, transforming the objects (directly, using GKEY -> grab) becomes unreliable. This was caused by a typo in some code checking for some OB_NO_CONSTRAINTS under "flag" instead of "transflag"
2011-01-27[#25815] Patch gcc 4.6Campbell Barton
with minor edits, made sure it works in CMake too.
2011-01-27Bugfix [#25707] / Todo Item: "Local Space" for Object constrainingJoshua Leung
For Constraints, there's now a working "Local" Space for Objects without parents. This is defined as relative to the object's rotated set of axes which results from rotation that gets set via "rotation" transform properties. I'm not sure whether this different behaviour between parented and unparented objects will be too confusing (and thus require separate settings + a round of version patching), so I'll wait until we get proper testing from experienced riggers first.
2011-01-27Usability issue noted while self-testing some stuff...Joshua Leung
Giving modifiers more descriptive tooltips for "Vertex Group" fields than just the useless/meaningless "Vertex Group name" tooltip they used to have.
2011-01-27Bullet-proofing mesh vertex group RNA wrapping, after double checkingJoshua Leung
on whether vertexgroup weight animation worked
2011-01-27Removing some old stuff from old animation system that isn't neededJoshua Leung
anymore (shapekeys stuff)
2011-01-27"Bugfix" (otherwise known as another ZanQdo Feature Request)Joshua Leung
Shape Key point data can now be animated directly. That is, you can animate the locations that each shape key defines.
2011-01-27Fix #25818: Text Editor holizontal grab invertedSergey Sharybin
Stupid typo. Maybe it's a result of merging two patches related to this part of code.
2011-01-26fix from andguent on irc, wasn't checking for property type.Campbell Barton
2011-01-26Possible fix for issue #2 in [#25664] Remove Pack does not work in Texture panelCampbell Barton
- There were 2 pack menu's, merged into 1. - Don't attempt to unpack into // if the blend file isn't saved, would use the CWD instead.
2011-01-26Fix for [#25797] Hair partcle crash when vertexgroup length enabledJanne Karhu
* Rounding errors could give vgroup weights of slightly over 1.0 to particles in some cases.
2011-01-26After test, offset is better to be 0.001f (test in windows nvidia)Ton Roosendaal
2011-01-26fix for crash when assigning unsupported type to collection properties.Campbell Barton
2011-01-26Bugfix #25756Ton Roosendaal
Outliner was drawing icons sometimes blurred. Happens when subpixel positions vary. UI code doesn't suffer this, it makes own ortho for it. This fix re-uses an un-used v2d flag (V2D_PIXELOFS_X) to force a 2d view on pixel exact positions. It's set for outliner only, I need testing feedback first.
2011-01-26ShapeKeys RNA Wrapping: Code cleanupJoshua Leung
Replaced some manual/inlined operations with their equivalents from the listbase library funcs.
2011-01-26- Clear rotation for objects now works on delta transforms too. TheJoshua Leung
only case that doesn't fully work yet is the one where quats/axis- angle are converted to eulers first. - Fixed incorrect comment - Removed obsolete "armature_clear" var from clear origin operator. This was some ancient stuff from 2.4x code that ended up getting ported across...
2011-01-26Refactoring object clear-transform operators to remove out the commonJoshua Leung
parts, like what was done for posechannel clear-transform operators earlier. There shouldn't be any functional changes.
2011-01-25Fix for [#25781] Bake cache for particles fails at end , ALT + A notJanne Karhu
* Missing check for info frame (frame 0).
2011-01-25small internal cleanup, have matrix.scale_part() use same method to extract ↵Campbell Barton
the scale as matrix.decompose()
2011-01-25use cmake defined names for jpeg, png, zlib and python libs, building on ↵Campbell Barton
*nix with non-standard libjpeg/png/zlib locations was broken. in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25improve unregister error check not to loop over parent classes properties ↵Campbell Barton
(would check the same property multiple times)
2011-01-25fix [#25748] Addons register parameters/functions more than onceCampbell Barton
- values were added to both the classes __dict__ as well as the internal StructRNA. - made properties available from the type since this is where the python api assigns them: >>> bpy.types.Scene.frame_start <bpy_struct, IntProperty("frame_start")> - rename RNA_struct_type_properties() -> RNA_struct_type_properties(), added RNA_struct_type_find_property()
2011-01-25property lookups on structs was doing a listbase search even if the hash was ↵Campbell Barton
defined. since the property hash is maintained there is no reason for this, especially since the property could be in the StructRNA's parent class.
2011-01-25fix [#25778] Memoryblock Data from SCR: end corruptCampbell Barton
+ other minor changes.
2011-01-24Todo item: text editor does not honour continuous grab(seeSergey Sharybin
Added OPTYPE_GRAB_POINTER flag to scrolling operator, changed a bit logic of delta calculation and removed unused members from TextScroll structure. Got issue with very-fast mouse moving (when mouse pointer could go out of window, but it's general issue for all grab operator). Was unable to check MOUSEPAN event (two-finger scroll). Please poke me if there are any issues with this event.
2011-01-24Todo item: text editor scroll bar does not respond to clicksSergey Sharybin
Text space's scroll bar now uses quite the same strategy of handling drag and click events as view2d. I tried to share some code between this two spaces. but there was no big luck with it: text sace uses it's own constants (like scroll bas size and offsets), so the simpliest way was to define zone stuff for text space without sharing it with view2d.
2011-01-24fix [#25776] Crash when operator's bl_idname has more than one dotCampbell Barton
2011-01-24Raise an exception when registering classes with ID names which are too ↵Campbell Barton
long. (related to bug ), found while looking into bug [#25776].
2011-01-24no functional changes.Campbell Barton
- remove unneeded casts to (char*) in interface code. - replace strcmp(.., "") with checks on the first char of the string.
2011-01-23Small fix for text input buttons:Ton Roosendaal
Number buttons, in text input mode, now also align internally like text buttons.
2011-01-23BGE: option in the UI to start with the mouse cursor visible. Patch by Vitor ↵Dalai Felinto
Balbio, changes by me. ---------------------------------- While we are more and more moving towards enabling features in the Python API, it's also important to have Logic Bricks working with no scripts. This option allows you to start the game with the mouse cursor on (it's on Render Buttons). The defalt is still off (no do_version needed here).
2011-01-23BGE: support modifiers without mapping to original mesh both graphically and ↵Benoit Bolsee
physically, fixes bug #24942 and #25286. Support for physics is done by skiping the modifiers that don't support mapping to original mesh. This mapping is required to report the hit polygon to the application by the rayCast() function. Support for graphics is done by using the same render function that blender uses for the 3D view. This guantees equal result. Limitation: there is still a known bug if all these conditions are met: - Display list enabled - Old tex face with a several textures mapped to the same material - no armature or shape keys - active modifiers In this case, only a part of the mesh will be rendered with the wrong texture. To avoid this bug, use the GLSL materials or make sure to have 1 material=1 texture in your old tex face objects.
2011-01-23Some ui reorganization of the physics tab:Janne Karhu
* Before the different simulations all had a panel with an "add this" button making the whole tab look really messy. It also rarely makes sense to have more than one or two physics things enabled for a single object, so having all the panels in the tab just added a great deal of visual clutter. * Now there is a single "enable physics for" panel at the top that allows for enable/disable of any simulation. All actual physics panels are hidden until a simulation is enabled. * There was no "add" button for force fields before, but I added a toggle between "none" and "force" to unify the ui even further.
2011-01-23Panels that have the "no header" flag set are now always drawn first in a ↵Janne Karhu
tab regardless of the order they were registered. * This is a quick and simple workaround until we can define proper ordering for the panels.
2011-01-23correct own bad spellingCampbell Barton
2011-01-23- fix problem with cmake, windows 'RelWithDebInfo' target, was giving error: ↵Campbell Barton
"ImportError: No module named _socket" because of copying wrong files over. - move test -> tests, this name is used elsewhere in lib/tests. - change interface code not to loop on a float value (clang warning), harmless, but with extreme cases an eternal loop would still be possible though unlikely.
2011-01-23bugfix + minor mathutils.Vector edits.Campbell Barton
- multiplying a 2D vector by a 3x3 or 4x4 matrix would use un-initialized memory, now throw an exception. - use more variable length array BLI_math functions.
2011-01-23Logic UI: ParentActuator fix + PropertyActuator tooltip improvementDalai Felinto
ParentActuator: sub options only available when mode==setParent + deactive ghost option when compound is true (isntead of saying that in the tooltip) PropertyActuator: I never knew that you could pass a property name to the Add and Assign options of the Property Actuator. Where it's by design or a side effect is cool. And a tooltip explaining that does help.
2011-01-23Bug fix: pre 2.5 particles that were using old memory caching didn't load ↵Janne Karhu
properly * Now the old cache is just freed so that new calculations can be done. * The particle dynamics regression test files should display correctly now.
2011-01-22"Fix" for [#25766] Fluid Particle BugsJanne Karhu
* Argh, particles tab was showing the whole "non applicable settings for fluid particles"-galore as the particle type "fluid" can't be checked from rna using the settings type value. Now the ui is a lot cleaner and only settings that actually effect the fluid particles are shown.
2011-01-22Small fix from the todo:Ton Roosendaal
"Modal cursors" now remain visible, until reset. These cursors were reset already on edges. Example: 3d view toolbar, grease pencil. Do note, only use WM_cursor_modal() on real modal tools, and restore it at end.
2011-01-22Bugfix #25761Ton Roosendaal
Move-to-layer in 3D window didn't work for linked library objects. That should be possible, as was in 2.49. Layer property is local.
2011-01-22Fix for [#25664] Remove Pack does not work in Texture panelJanne Karhu
* Unpack menu option "Remove Pack" didn't get a pointer to the image to be unpacked. This worked from image view by using the active image, but not from texture panel.
2011-01-22Temporary fix for [#25735] Softbody don't work in linked groups, not ↵Janne Karhu
generate cache * The whole case of lib linking and pointcaches is not very well defined currently, but this fix sets the behavior of sb to the same as other physics currently. * A proper fix will be easy to implement after a good physics baking ui is added.
2011-01-22own fix r34446, was incorrect, fixed properly now.Campbell Barton
2011-01-22error in own recent commit, r34445Campbell Barton
2011-01-22fix for makesdna error.Campbell Barton
ERROR: still 1 structs unknown *** Unknown structs : PreviewImage
2011-01-22comment dead code and fix 2 missing NULL checks (pointer used after NULL ↵Campbell Barton
check and checking against incorrect pointer before use).
2011-01-21Logic UI + missing listener in Outliner - changes on Armature Sensor and ↵Dalai Felinto
Visibility Actuator * fix for armature sensor (Status Changed doesn't use any value to evaluate itself) + renamed "Test Type" to "Test" * visibility tooltip was wrong - now we can change visibility from the physic buttons instead of the outliner * bonus * when you change the visibility from the physics panel the icon in the outliner wasn't changing