Blender Git Commits

Blender Git "master" branch commits.

Page: 4111 / 5574

February 16, 2011, 05:03 (GMT)
fix from mikes for building on apple with gcc 4.2.1
February 16, 2011, 02:51 (GMT)
rename IDPropertyGroup to PropertyGroup
also renamed IDProperty to PropertyGroupItem (these are not referenced for common usage and we already have 'Property' defined).
February 16, 2011, 02:25 (GMT)
bugfix [#26094] Going to Bone Roll menu brings up python error
also correct for pep8 warnings.
Revision 78c135d by Joshua Leung
February 16, 2011, 02:10 (GMT)
Fix for compiler warning: forgot to hook up a poll callback I defined
for unlinking PoseLib data
Revision 7756da3 by Joshua Leung
February 16, 2011, 02:05 (GMT)
PoseLib UI and Bugfixes:
- Added operator button to show the current pose. This runs on top of
the interactive pose browse functionality, so the tooltip may be a bit
obtuse...
- Specifying a pose for the Pose browse functionality to set now works
correctly. Previously, some old depsgraph hacks were actually
interferring with correct updating (only the armature updated
correctly, but deforms didn't occur)
- Fixed a case of accessing freed memory, which I'm surprised no
static checkers have reportedly picked up on yet, or that nobody has
really had issues with (probably due to low memory "turnaround" so
far)
February 16, 2011, 02:05 (GMT)
fix [#26098] python API: quaternion.rotate never seems to work.
Revision f5217af by Joshua Leung
February 16, 2011, 01:46 (GMT)
Ugly hack to get PoseLib UI working ok (problem mentioned in log for
r34883).

Full description:
When defining an operator button in the UI layout code, trying to set
the value for such an operator's enum properties, where said enum uses
a dynamically generated list of items (which depends on using context
info), will "fail". No context info will be passed to the callbacks
used to generate this list of items, as PROP_ENUM_NO_CONTEXT is still
set on the operator properties (it seems these will only get cleared
when the operator actually runs, which is far too late already for
this usage) so RNA_property_enum_items() will pass NULL instead of a
context pointer *even* when one exists!

I'm not sure of why we even need this flag. It seems to have caused a
few other rounds of problems already, from quick searches I did on
this matter...
Revision c39aba0 by Joshua Leung
February 16, 2011, 00:19 (GMT)
Bugfix: Browing Pose Libs should work now... RNA wrapping was missing
an "editable" flag there
Revision 147309e by Joshua Leung
February 16, 2011, 00:17 (GMT)
Pose Lib: Start of PoseLib UI in Armature buttons

This presents a UI from which PoseLibs can be assigned/removed from
Objects. From here, it is also possible to see the list of poses and
add/remove poses from this list.

Known Issues:
- [Py/RNA/Operators BUG ALERT!] If after immediately starting Blender
you try to remove a pose from the PoseLib using the UI buttons, you'll
get a an error the first time you do so (but not for subsequent
attempts). This seems to be caused by the "pose" enum (dynamically
generated) of the POSELIB_OT_pose_remove operator, which does not seem
to be getting initialised when the operator's exec gets called without
the invoke having been called previously
- Changing the active Pose Library still seems to be broken (to be
fixed soon)

Todos:
- Operator button to make the selected pose get shown in the 3d view
- Restore the "validate action" operator and add that to this panel
- Rename pose access
Revision c195e68 by Michael Fox
February 16, 2011, 00:04 (GMT)
small correction to BGE as recent commits broken normal mapping in the GE
February 15, 2011, 19:57 (GMT)
Fix from sparky for compile problem with older GCC
February 15, 2011, 19:22 (GMT)
removed some more magic constants
another fix: the patch for #25806 was submitted by Riakiotakis Antonis and not by Andrew Wall
February 15, 2011, 19:19 (GMT)
- Do not use old anchor toggling operator. It used to set brush flags to
unawaliable state.
- Also changed dynamic space bar menu, so it now also wouldn't allow to
set brush stroke flags to unavaliable state.

Also tried to remove use_anchor, use_space, use_restore_mesh and
use_airbrush, so user would be unable to set flags to unavaliable state,
but it was quite difficult for non-sculpt paint modes. They don't support
all of stroke methods, so brush.stroke_method can't be used for them.

Keep this area unchanged for now.
February 15, 2011, 19:04 (GMT)
patch from IRIE Shinsuke, use systems openjpeg on *nix.
February 15, 2011, 19:04 (GMT)
added more code comments and removed some magic constants
February 15, 2011, 18:36 (GMT)
a fix for bug #25806
http://projects.blender.org/tracker/index.php?func=detail&aid=25806
Thanks Andrew Wall for the report and the patch
February 15, 2011, 18:33 (GMT)
CPack packaging support from Dan Eicher, tested to build redhat RPM's, a Mac bundle also defined.
February 15, 2011, 18:12 (GMT)
menu to select an enum from an RNA path:
eg,
bpy.ops.wm.context_menu_enum(data_path="scene.tool_settings.vertex_paint.brush.stroke_method")

This saves us defining operators only for menus.
February 15, 2011, 16:37 (GMT)
- Use the same logic as for BEZIERs when making segment of between
first and last NURBS' control points (toggle cyclic flag)
- Show U/V selection menu only for surface objects. There's no
much logic in asking U/V direction for simple curves.
- Set active spline when two segments were joined.
February 15, 2011, 16:09 (GMT)
Fix #26087: in a curve, can't make segment if Fkey was pressed 2 times before on a single vertex

- Disallow setting cyclic flag for single-point segment when this lonely
segment is selected
- Clear cyclic flag for single-pointed segments when finding segments which
can be merged
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021