Blender Git Commits

Blender Git "master" branch commits.

Page: 4038 / 5574

Revision aaa93c5 by Joshua Leung
May 8, 2011, 05:41 (GMT)
Fixes for bugs noticed during previous fix:
- In Drivers mode of Graph Editor, expanders for sub-object data were
not working at all. This was because they were getting overriden by an
errant ob-level drivers check
- Adding drivers from py-api didn't update Graph Editor
Revision 85b1b45 by Joshua Leung
May 8, 2011, 05:18 (GMT)
RNA Bugfix:

The following script would fail:
#ob = bpy.context.active_object
pb = bpy.context.active_pose_bone
pb.bone.driver_add("hide") # <--- exception here

The RNA-path function for Bone assumed that when it got called, it's
"id_data" (or owner-idblock-pointer) would only be ID_AR (i.e. an
armature). However, in the above example, pb.bone has ob as its
id_data, resulting in an invalid RNA path getting created. Added check
for this case, since it's likely to be common
May 8, 2011, 03:42 (GMT)
Committing patch [#27133] "Fix for for Object Color in BGE" by Kupoman

The tracker description:
"This patch fixes this bug:
http://projects.blender.org/tracker/index.php?func=detail&aid=25487&group_id=9&atid=306

This was accomplished by making sure the KX_GameObject's object color gets set during the conversion process in the method gameobject_from_blenderobject. Otherwise all the values for object color default to 0. The reason adding an IPO worked as a work around is because it set the object color."

The bug report mentioned is bug [#25487] "BGE: Object Color only works when it has a keyed frame"
May 7, 2011, 22:28 (GMT)
Patch [#26799] embedded blenderplayer not receiving keyboard input by Sebastian Korczak
(patch co-reviewed by Nathan Letwory)

Overview: GHOST using rawinput for keyboard input. GHOST window receives WM_INPUT only when it is the active window. Child window cannot be active, so when embedding blenderplayer, WM_INPUT is consumed by top level parent window (for Burster it is the web browser window). Patch register raw input device as 'inputsink' - it makes GHOST window receives all keyboard messages. Window procedure check if GHOST window is active or focused.

::TranslateMessage(&msg) generates WM_CHAR etc. messages from WM_KEYDOWN, WM_KEYUP etc. Because of using RawInput only WM_INPUT messages are processed, so we doesn't need WM_CHAR, WM_KEYDOWN etc. [this is why ::TranslateMessage is no longer getting called].

Note: It's responsibility of the parent window (aka the wrapper) to send WM_SETFOCUS to child window (embedded blenderplayer).
However some parent windows (e.g. webbrowsers) will not send WM_SETFOCUS to the child window when someone clicks on it.
In those cases the blenderplayer needs to be patched to call setFocus(&msg); in the event of WM_LBUTTONDOWN (see GHOST_SystemWin32.cpp)
May 7, 2011, 20:53 (GMT)
Apply part of [#21590] .dds textures: fix for DXT1n format
Submitted by Amorilia.

DXT1 .dds textures with 1-bit alpha channel have their alpha channel imported in Blender.

The patch also makes change to contact info for the patch submitter.

I left the sync with upstream nvtt for another commit.
May 7, 2011, 17:52 (GMT)
Fix #27319: Text editor "Find" does not locate words.

Added new option to find panel of space text which toggles
case-esensitive search.

Additional changes:
- Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier
this prevents "sticked" markers which disappears on first redraw when
search text wasn't found
- Do not show "Text wasn't found" error when text to be searched is contained
in the end of buffer and it's selected. Replacing/marking used to happen, but
this popup message was really annoying for this case.

TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator
May 7, 2011, 11:25 (GMT)
io_utils.axis_conversion(...) utility function to easily convert the forward & up axis between different apps on import/export.
Revision 3462ddf by Joseph Eagar
May 7, 2011, 02:48 (GMT)
=bmesh=

Cut out some unwanted differences with trunk
in preparation for merge. Also fixed some
warnings, though many remain.



May 6, 2011, 23:59 (GMT)
patch from Dan Eicher, CPack/RPM working again
May 6, 2011, 23:54 (GMT)
missed updating warp modifier UI, gave a py error when selecting texture UI layer.
May 6, 2011, 23:46 (GMT)
fix [#27298] Alt + RMB always extends selection
May 6, 2011, 20:21 (GMT)
Forgot to mention that for scons, I've disabled install of the texture and
sequence plugins, as was already done for cmake, they don't work in 2.5.

This is a fix for last commit, this file shouldn't have been included.

May 6, 2011, 20:18 (GMT)
Code cleanup: remove source/kernel module, this wasn't really the kernel of
anything, only contained a hash map and functions to pass command line args
to the game engine. Moved those to container and BlenderRoutines modules.

May 6, 2011, 15:17 (GMT)
Code cleanup: PIL_dynlib, renamed to BLI_dynlib, and other tweaks.

May 6, 2011, 11:27 (GMT)
patch [#27205] Infinite recursion inside resolve_ncase() when passed a driver letter on Windows that does not exist
by Brandon Ehle (azverkan)
May 6, 2011, 09:19 (GMT)
Cycles: fix missing #include.

May 6, 2011, 08:16 (GMT)
Patch #27225: blenderplayer resource compilation error fix for cmake + mingw,
patch by Ryakiotakis Antonis.

May 6, 2011, 03:29 (GMT)
py/rna debugging option (defaults to off), which quickly exposes errors with RNA functions holding string pointers by making a temp copy of the string and freeing after the function is called.
May 6, 2011, 02:55 (GMT)
fix [#27304] uiItemsFullEnumO: operator missing srna ''
python strings are not static so dont hold pointers to them within blenders UI.
May 6, 2011, 01:03 (GMT)
[#26715] Blender2.57 crash when opening in Windows, non-latin char in path
this isn't a fix but GetModuleFileName is returning a name that doesn't exist, so finding python after this isn't working.

Show a popup that the path has an invalid name so at least the user can move it.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021