blender-staging.git
8 years ago== FFMPEG ==
Peter Schlaile [Thu, 26 May 2011 23:19:15 +0000 (23:19 +0000)]
== FFMPEG ==

Added some API compatibility code again, since some API-changes weren't even documented
(they even didn't do a proper version-bump, arghh!)

If it breaks again, please tell!

8 years agomissed this in recent commit.
Campbell Barton [Thu, 26 May 2011 22:48:06 +0000 (22:48 +0000)]
missed this in recent commit.

8 years agoweight paint mirror, move duplicate code into a function.
Campbell Barton [Thu, 26 May 2011 22:20:29 +0000 (22:20 +0000)]
weight paint mirror, move duplicate code into a function.

8 years ago== FFMPEG ==
Peter Schlaile [Thu, 26 May 2011 21:57:02 +0000 (21:57 +0000)]
== FFMPEG ==

* removed a lot of old cruft code for ancient ffmpeg versions
* made it compile again against latest ffmpeg / libav GIT
  (also shouldn't break distro ffmpegs, since those API changes
  have been introduced over a year ago. If it nevertheless breaks,
  please send me an email)

8 years agoremove BLI_streq() since it was hardly used, also replace string search with BLI_find...
Campbell Barton [Thu, 26 May 2011 21:04:01 +0000 (21:04 +0000)]
remove BLI_streq() since it was hardly used, also replace string search with BLI_findstring().

8 years agosplit BLO_library_append_named_part into 2 function, one that adds objects into the...
Campbell Barton [Thu, 26 May 2011 20:45:19 +0000 (20:45 +0000)]
split BLO_library_append_named_part into 2 function, one that adds objects into the scene and another that just links/appends.

8 years agosphinx docstrng formatting (some lines were getting really long)
Campbell Barton [Thu, 26 May 2011 19:13:01 +0000 (19:13 +0000)]
sphinx docstrng formatting (some lines were getting really long)

8 years agouse a dynamic enum for addons, annoyingly the enum was being generated from python...
Campbell Barton [Thu, 26 May 2011 18:11:59 +0000 (18:11 +0000)]
use a dynamic enum for addons, annoyingly the enum was being generated from python for each of the addon buttons (~14 times per draw) which was noticeably slow, so disabling 'expand' for now.

Eventually it would be good to have the expanded buttons all using the same result from itemf().

8 years agosupport for dynamic items in bpy.props.EnumProperty(), the items keyword argument...
Campbell Barton [Thu, 26 May 2011 16:07:28 +0000 (16:07 +0000)]
support for dynamic items in bpy.props.EnumProperty(), the items keyword argument can optionally be a function rather then a list.

8 years agoadd the property as an argument to enum item functions, not used yet but needed for...
Campbell Barton [Thu, 26 May 2011 13:38:16 +0000 (13:38 +0000)]
add the property as an argument to enum item functions, not used yet but needed for dynamic python enums.

8 years agoSince we don't support win2k or older anymore, remove old shortname code. Finally...
Nathan Letwory [Thu, 26 May 2011 12:23:11 +0000 (12:23 +0000)]
Since we don't support win2k or older anymore, remove old shortname code. Finally nice full names.

8 years agofix for installing blender as a python module with cmake.
Campbell Barton [Thu, 26 May 2011 12:15:42 +0000 (12:15 +0000)]
fix for installing blender as a python module with cmake.

8 years agoupdate to build system excluding parts of the python bundle.
Campbell Barton [Thu, 26 May 2011 11:45:25 +0000 (11:45 +0000)]
update to build system excluding parts of the python bundle.

8 years agoFix #27465: used light groups did not get linked in with materials automatically.
Brecht Van Lommel [Thu, 26 May 2011 10:25:51 +0000 (10:25 +0000)]
Fix #27465: used light groups did not get linked in with materials automatically.

8 years agoFix #27480: armature multimodifier was not working in edit mode.
Brecht Van Lommel [Thu, 26 May 2011 10:21:09 +0000 (10:21 +0000)]
Fix #27480: armature multimodifier was not working in edit mode.

8 years agoFix #27445: various operators missing with some non-english system languages.
Brecht Van Lommel [Thu, 26 May 2011 09:58:22 +0000 (09:58 +0000)]
Fix #27445: various operators missing with some non-english system languages.

In the case of this bug e.g. material.new became MATERiAL_OT_new, due to
different capitalization of "i" in Turkish. Fixed by not using the locale
dependent toupper/tolower functions.

8 years agoUse proper checking for image source
Sergey Sharybin [Thu, 26 May 2011 09:46:51 +0000 (09:46 +0000)]
Use proper checking for image source

8 years agocorrect spelling error and some pep8 changes.
Campbell Barton [Thu, 26 May 2011 09:33:51 +0000 (09:33 +0000)]
correct spelling error and some pep8 changes.

8 years agoBUGFIX: Sequencer strips.elements was broken when strip was trimmed (personal bug...
Dalai Felinto [Thu, 26 May 2011 09:20:30 +0000 (09:20 +0000)]
BUGFIX: Sequencer strips.elements was broken when strip was trimmed (personal bug report, no number)

When trimmed the seq->len was being reduced from the offsets (initial and final). This was the length passed to the elements.
This had two problems:
1) it would not allow you to change the elements not visible (although you likely want to change them as well).
2) the element[0] was always the seq->strips[0].stripdata[0], regardless of the initial trim.

Anyhoo it's all working now.
Thanks Campbell for helping out with this one.

8 years agomove less common mesh operations out of bpy_types into bpy_extras.mesh_utils
Campbell Barton [Thu, 26 May 2011 07:16:56 +0000 (07:16 +0000)]
move less common mesh operations out of bpy_types into bpy_extras.mesh_utils

8 years agofix [#27485] Create new shapekey on lattice
Campbell Barton [Thu, 26 May 2011 06:34:31 +0000 (06:34 +0000)]
fix [#27485] Create new shapekey on lattice

8 years agofix for mistake in selecting vertex groups (own recent commit)
Campbell Barton [Thu, 26 May 2011 05:40:00 +0000 (05:40 +0000)]
fix for mistake in selecting vertex groups (own recent commit)

8 years agofcurve/boolean evaluation, values below zero are no longer evaluated to true.
Campbell Barton [Thu, 26 May 2011 05:35:30 +0000 (05:35 +0000)]
fcurve/boolean evaluation, values below zero are no longer evaluated to true.

8 years agofix [#27478] Crash on image editor after loading exr images
Campbell Barton [Wed, 25 May 2011 11:06:30 +0000 (11:06 +0000)]
fix [#27478] Crash on image editor after loading exr images
patch from Ryakiotakis Antonis (psy-fi) with minor change.

8 years agofix [#27479] Missing 'Select vertex groups under the cursor' in weight paint mode
Campbell Barton [Wed, 25 May 2011 10:07:59 +0000 (10:07 +0000)]
fix [#27479] Missing 'Select vertex groups under the cursor' in weight paint mode
really todo :) but still needs to be done.

Split this into 2 operators, works like 2.4x
- Ctrl+LMB samples weight.
- Shift+LMB selects vertex groups.

8 years agocmake's install target now works for the python module on *nix.
Campbell Barton [Tue, 24 May 2011 18:34:07 +0000 (18:34 +0000)]
cmake's install target now works for the python module on *nix.

8 years agoremove some warnings and possible use of un-initialized vars.
Campbell Barton [Tue, 24 May 2011 17:25:11 +0000 (17:25 +0000)]
remove some warnings and possible use of un-initialized vars.

8 years agouse PyDoc_STRVAR macro, so its possible to build without docstrings.
Campbell Barton [Tue, 24 May 2011 16:05:51 +0000 (16:05 +0000)]
use PyDoc_STRVAR macro, so its possible to build without docstrings.

8 years agoloading data with bpy.data.libraries.load(), now swaps out the strings in the list...
Campbell Barton [Tue, 24 May 2011 15:21:14 +0000 (15:21 +0000)]
loading data with bpy.data.libraries.load(), now swaps out the strings in the list to load with the actual datablocks, this is convenient because it saves the script author having to find them after.

also raise warnings rather then errors if the datablock can't be found.

8 years agoBLO_library_append_named_part now returns the newly linked/appended datablock.
Campbell Barton [Tue, 24 May 2011 15:02:46 +0000 (15:02 +0000)]
BLO_library_append_named_part now returns the newly linked/appended datablock.

8 years agolookup table for axis conversion was wrong in some places.
Campbell Barton [Tue, 24 May 2011 12:55:29 +0000 (12:55 +0000)]
lookup table for axis conversion was wrong in some places.

8 years agoclamp delta to prevent cases where strength is a huge number. Very high values would...
Nathan Letwory [Tue, 24 May 2011 11:20:33 +0000 (11:20 +0000)]
clamp delta to prevent cases where strength is a huge number. Very high values would lead to scale problems of objects.

8 years agoFix for mingw 64bit fix.
Brecht Van Lommel [Tue, 24 May 2011 11:19:11 +0000 (11:19 +0000)]
Fix for mingw 64bit fix.

8 years agoAttempt to fix mingw 64 bit compile error.
Brecht Van Lommel [Tue, 24 May 2011 11:01:39 +0000 (11:01 +0000)]
Attempt to fix mingw 64 bit compile error.

8 years agobpy_extras.io_utils.axis_conversion() was returning wrong matrix.
Campbell Barton [Tue, 24 May 2011 08:11:51 +0000 (08:11 +0000)]
bpy_extras.io_utils.axis_conversion() was returning wrong matrix.

8 years agofix for option WITH_CXX_GUARDEDALLOC with msvc
Campbell Barton [Tue, 24 May 2011 06:44:39 +0000 (06:44 +0000)]
fix for option WITH_CXX_GUARDEDALLOC with msvc

8 years agofix for using uninitialized vars in own recent commit.
Campbell Barton [Tue, 24 May 2011 05:22:58 +0000 (05:22 +0000)]
fix for using uninitialized vars in own recent commit.

8 years agofix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC
Campbell Barton [Tue, 24 May 2011 05:21:51 +0000 (05:21 +0000)]
fix for cmake/msvc when the path name contains spaces, patch by Kupoman on IRC

8 years agoFix #26728: crash with load/save on Mac, on files that close & open a window
Brecht Van Lommel [Mon, 23 May 2011 15:56:26 +0000 (15:56 +0000)]
Fix #26728: crash with load/save on Mac, on files that close & open a window
when loading them. Custom cursor shown during load was not freed correctly
when closing the old window, which resulted in unpredictable crashes later on.

8 years agofix [#27462] Linked Object (camera) can be moved by Lock Camera to View
Campbell Barton [Mon, 23 May 2011 15:46:09 +0000 (15:46 +0000)]
fix [#27462] Linked Object (camera) can be moved by Lock Camera to View

8 years agoremove unused code, comment some that may be useful (maintainers can remove).
Campbell Barton [Mon, 23 May 2011 15:23:31 +0000 (15:23 +0000)]
remove unused code, comment some that may be useful (maintainers can remove).

8 years agoCMake changes
Campbell Barton [Mon, 23 May 2011 14:56:14 +0000 (14:56 +0000)]
CMake changes
- don't allow building if the LIBDIR is not found on mac/windows.
- by default use -O2 rather then -O3 for GCC release flags, was crashing some GCC versions and blender releases are supposed to use -O2.

8 years agoFix print_rctf not printing y max correct.
Brecht Van Lommel [Mon, 23 May 2011 14:51:31 +0000 (14:51 +0000)]
Fix print_rctf not printing y max correct.

8 years agofix [#26618] StringProperty with sub_type of FILE_PATH not updated correctly from...
Campbell Barton [Mon, 23 May 2011 10:14:07 +0000 (10:14 +0000)]
fix [#26618] StringProperty with sub_type of FILE_PATH not updated correctly from icon

8 years agofix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right click on...
Campbell Barton [Mon, 23 May 2011 08:14:29 +0000 (08:14 +0000)]
fix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right click on header not working
also get rig of more shadowed vars (-Wshadow).

8 years agoown recent commit broke zoom to mouseloc
Campbell Barton [Mon, 23 May 2011 02:59:29 +0000 (02:59 +0000)]
own recent commit broke zoom to mouseloc

8 years agofix [#27459] Flymode moves parent
Campbell Barton [Mon, 23 May 2011 02:53:30 +0000 (02:53 +0000)]
fix [#27459] Flymode moves parent
for durian we had camera rigs which needed to have the parent transformed rather then the camera, for this reason I made fly mode fly the parent rather then the camera its self.

Make this a preference and use this for view camera/view locking too.

8 years agofix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4...
Campbell Barton [Mon, 23 May 2011 02:23:03 +0000 (02:23 +0000)]
fix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4. added doxygen docs.

8 years agofix [#27443] "Make single user Material+Tex" doesn't work for textures
Campbell Barton [Sun, 22 May 2011 17:10:24 +0000 (17:10 +0000)]
fix [#27443] "Make single user Material+Tex" doesn't work for textures

8 years agoremove / comment unused code, patch by nico_ga on IRC with some edits.
Campbell Barton [Sun, 22 May 2011 16:29:51 +0000 (16:29 +0000)]
remove / comment unused code, patch by nico_ga on IRC with some edits.

8 years ago- view dolly now quits on pressing escape (if activated from the search menu).
Campbell Barton [Sun, 22 May 2011 11:36:56 +0000 (11:36 +0000)]
- view dolly now quits on pressing escape (if activated from the search menu).
- adding new bones now makes them active.

8 years agofile had non utf8 characters.
Campbell Barton [Sun, 22 May 2011 05:36:11 +0000 (05:36 +0000)]
file had non utf8 characters.

8 years agoquiet compiler warnings for -Wundef
Campbell Barton [Sun, 22 May 2011 04:25:31 +0000 (04:25 +0000)]
quiet compiler warnings for -Wundef

8 years agofix [#27458] Links for Logic Bricks no longer work
Campbell Barton [Sun, 22 May 2011 04:05:09 +0000 (04:05 +0000)]
fix [#27458] Links for Logic Bricks no longer work
event->mval wasn't being set in some cases by the event system.

8 years agocorrect a tooltip misspell
Daniel Salazar [Sat, 21 May 2011 23:44:36 +0000 (23:44 +0000)]
correct a tooltip misspell

8 years agoview3d function naming, no functional changes.
Campbell Barton [Sat, 21 May 2011 08:56:37 +0000 (08:56 +0000)]
view3d function naming, no functional changes.

8 years agofix [#27437] Appending armatures with custom bone shapes brings no custom objects...
Campbell Barton [Sat, 21 May 2011 07:15:36 +0000 (07:15 +0000)]
fix [#27437] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit

previous fix unintentionally made linking groups also add objects to the scene,
tested this more throughly, its ensured only to run on append and not to conflict with group linking/appending.

8 years agono functional changes, make give_base_to_objects() arguments less confusing.
Campbell Barton [Sat, 21 May 2011 06:48:19 +0000 (06:48 +0000)]
no functional changes, make give_base_to_objects() arguments less confusing.

8 years agoBugfix [#27452] Wrong linking of character groups
Joshua Leung [Sat, 21 May 2011 06:04:44 +0000 (06:04 +0000)]
Bugfix [#27452] Wrong linking of character groups

Linking in groups also ended up adding those objects to the current
scene that we're linking the group in to. This is a regression. It
leads to more work (and/or confusion) from animators when just trying
to get a character into a shot file to start animating it (see my
notes on my blog for the proper workflow regarding this).

Reverting r36762, which caused this mess.

8 years agopatch [#27449] bpy_script_paths() return path reversed [patch]
Campbell Barton [Sat, 21 May 2011 05:34:20 +0000 (05:34 +0000)]
patch [#27449] bpy_script_paths() return path reversed [patch]
from Dan Eicher (dna)

8 years agoFix for [#27333] Translation constraint is broken.
Thomas Dinges [Fri, 20 May 2011 18:26:44 +0000 (18:26 +0000)]
Fix for [#27333] Translation constraint is broken.

Committing here a patch by Bastien Montagne (mont29), a more understandable Translation Constraint UI.
Before: http://www.pasteall.org/pic/12578
Now http://www.pasteall.org/pic/12258

From the description:
"When you set “X” under the Destination’s “Z”, it does not mean that the Z transform of the source should affect the X transform of the destination, but rather that the X transform of the source should affect the Z transform of the destination…"

The new UI should make it a bit more clear.

8 years agochange transform to round at 0.5 for fcurves.
Campbell Barton [Fri, 20 May 2011 18:19:29 +0000 (18:19 +0000)]
change transform to round at 0.5 for fcurves.
this gave noticeable issue when transforming int/fcurve's below zero.

8 years agowas using the wrong rna type for GRAPH_OT_select_leftright
Campbell Barton [Fri, 20 May 2011 18:00:19 +0000 (18:00 +0000)]
was using the wrong rna type for GRAPH_OT_select_leftright

8 years ago2.5 Particle UI:
Thomas Dinges [Fri, 20 May 2011 17:08:09 +0000 (17:08 +0000)]
2.5 Particle UI:
*In Particle Mode, there was no way to see what p-sys is being edited in the 3D View Tool bar, when having multiple ones.
Changed List type to normal (with limit to 3 rows). Request by venomgfx. :)

* Removed redundant text info about disconnected hair from Particle UI.

8 years agoerror in recent commit.
Campbell Barton [Fri, 20 May 2011 16:43:23 +0000 (16:43 +0000)]
error in recent commit.

8 years agoedit gp_stroke_convertcoords not to modify the mval passed to it & make some mval...
Campbell Barton [Fri, 20 May 2011 14:11:05 +0000 (14:11 +0000)]
edit gp_stroke_convertcoords not to modify the mval passed to it & make some mval args const elsewhere too.

8 years agouse consistant arguments to ED_view3d_win_* funcs, a single float vector rather then...
Campbell Barton [Fri, 20 May 2011 13:50:41 +0000 (13:50 +0000)]
use consistant arguments to ED_view3d_win_* funcs, a single float vector rather then 2 floats.

8 years agotypo in previous commit
Sergey Sharybin [Fri, 20 May 2011 13:10:40 +0000 (13:10 +0000)]
typo in previous commit

8 years agofunction rename to give clearer meaning that they change from window to 3d coordinates.
Campbell Barton [Fri, 20 May 2011 13:09:34 +0000 (13:09 +0000)]
function rename to give clearer meaning that they change from window to 3d coordinates.
some functions had vague names, I even ended up re-writing some of these functions by accident!
also added doxy comments.

* ED_view3d_win_to_3d (was window_to_3d)
* ED_view3d_win_to_delta (was window_to_3d_delta)
* ED_view3d_win_to_vector (was window_to_3d_vector / viewvector)
* ED_view3d_win_to_segment_clip (was viewline)
* ED_view3d_win_to_ray (was viewray)

8 years agobuildbot:
Sergey Sharybin [Fri, 20 May 2011 13:06:19 +0000 (13:06 +0000)]
buildbot:
ffmpeg was compuled with faad now (aac support which keeps
libs gpl2 compatibile).
Updating library dependencies for buildbot rules.

8 years agoreplace checks with rv3d->persp with rv3d->is_persp since in these cases it only...
Campbell Barton [Fri, 20 May 2011 11:15:44 +0000 (11:15 +0000)]
replace checks with rv3d->persp with rv3d->is_persp since in these cases it only matters if its a perspective view matrix, this wouldn't work right for camera views.

8 years agosimplify window_to_3d_vector() and call it from viewline()
Campbell Barton [Fri, 20 May 2011 10:28:40 +0000 (10:28 +0000)]
simplify window_to_3d_vector() and call it from viewline()
also update python view function to match.

8 years agorename mul_project_m4_v4 to mul_project_m4_v3.
Campbell Barton [Fri, 20 May 2011 10:09:03 +0000 (10:09 +0000)]
rename mul_project_m4_v4 to mul_project_m4_v3.

8 years agoRemedy compile error on windows/msvc introduced in r36787.
Nathan Letwory [Fri, 20 May 2011 08:52:52 +0000 (08:52 +0000)]
Remedy compile error on windows/msvc introduced in r36787.

8 years agouse event->mval rather then subtracting ar->winrct.x / y from event->x / y
Campbell Barton [Fri, 20 May 2011 07:40:05 +0000 (07:40 +0000)]
use event->mval rather then subtracting ar->winrct.x / y from event->x / y

8 years agorenaming bones didnt update update the view3d lock bone name.
Campbell Barton [Fri, 20 May 2011 05:39:56 +0000 (05:39 +0000)]
renaming bones didnt update update the view3d lock bone name.

8 years agouse BKE_area_find_region_type in place of inline loops (no functional changes).
Campbell Barton [Fri, 20 May 2011 05:27:31 +0000 (05:27 +0000)]
use BKE_area_find_region_type in place of inline loops (no functional changes).

8 years agomake api functions for converting rv3d->camzoom, so the odd logic for this isn't...
Campbell Barton [Fri, 20 May 2011 04:14:29 +0000 (04:14 +0000)]
make api functions for converting rv3d->camzoom, so the odd logic for this isn't inlined all over.

8 years agoint values were not drawing curve handles, yet the handles could still be selected...
Campbell Barton [Fri, 20 May 2011 01:02:00 +0000 (01:02 +0000)]
int values were not drawing curve handles, yet the handles could still be selected and transformed, and different handle types set. disable this check and draw curve handles for int fcurves.

8 years ago[#27439] Console window doesn't hide on startup when presets are used (Windows)
Campbell Barton [Fri, 20 May 2011 00:21:38 +0000 (00:21 +0000)]
[#27439] Console window doesn't hide on startup when presets are used (Windows)
only print preset load messages in when debug is enabled.

8 years agoSVN maintenance.
Guillermo S. Romero [Thu, 19 May 2011 20:22:35 +0000 (20:22 +0000)]
SVN maintenance.

8 years ago- mousewheel zoom now zooms camera area when the camera is locked and in ortho view.
Campbell Barton [Thu, 19 May 2011 17:19:05 +0000 (17:19 +0000)]
- mousewheel zoom now zooms camera area when the camera is locked and in ortho view.
- remove secret apricot feature now dolly is its own operator.

8 years agomove rna property area.active_space --> area.spaces.active
Campbell Barton [Thu, 19 May 2011 15:18:40 +0000 (15:18 +0000)]
move rna property area.active_space --> area.spaces.active

8 years agoformatting changes only.
Campbell Barton [Thu, 19 May 2011 13:50:53 +0000 (13:50 +0000)]
formatting changes only.

8 years agomodify fcurve evaluation for bool/enum/int values. was converting from a float to...
Campbell Barton [Thu, 19 May 2011 12:39:57 +0000 (12:39 +0000)]
modify fcurve evaluation for bool/enum/int values. was converting from a float to an int which means 0.9x evaluates to 0.0, negative numbers are also rounded up.

Round at 0.5 instead & treat negative numbers the same.

8 years agoFix some compile warnings.
Brecht Van Lommel [Thu, 19 May 2011 11:54:03 +0000 (11:54 +0000)]
Fix some compile warnings.

8 years agoUI tweak: properties editor header now has same size as other headers again.
Brecht Van Lommel [Thu, 19 May 2011 11:45:06 +0000 (11:45 +0000)]
UI tweak: properties editor header now has same size as other headers again.

8 years agoFix for preview render, lamp and world now also get localized like material and texture.
Brecht Van Lommel [Thu, 19 May 2011 11:37:08 +0000 (11:37 +0000)]
Fix for preview render, lamp and world now also get localized like material and texture.

8 years agoCode refactor: split code for render updates and opening render view into
Brecht Van Lommel [Thu, 19 May 2011 11:34:11 +0000 (11:34 +0000)]
Code refactor: split code for render updates and opening render view into
separate files, no functional changes.

8 years agoFix crash when accessing mesh from python while a mesh with a subsurf modifier
Brecht Van Lommel [Thu, 19 May 2011 11:24:56 +0000 (11:24 +0000)]
Fix crash when accessing mesh from python while a mesh with a subsurf modifier
is in editmode.

8 years agoAdd localize_lamp and localize_world functions as already existed for materials
Brecht Van Lommel [Thu, 19 May 2011 11:21:37 +0000 (11:21 +0000)]
Add localize_lamp and localize_world functions as already existed for materials
and textures, unused still.

8 years agoUI: fix direction properties not showing the right direction editing widget,
Brecht Van Lommel [Thu, 19 May 2011 11:18:09 +0000 (11:18 +0000)]
UI: fix direction properties not showing the right direction editing widget,
code was there but in the wrong location. This makes the opengl lights in
the user preferences show that widget again as in 2.4.

8 years agoscreenshot operator can now be executed directly.
Campbell Barton [Thu, 19 May 2011 11:13:35 +0000 (11:13 +0000)]
screenshot operator can now be executed directly.
so python can screenshot with: bpy.ops.screen.screenshot(filepath="some_image.png"):

8 years agoUI: fix menus getting closed too quick when moving mouse not exactly towards
Brecht Van Lommel [Thu, 19 May 2011 11:05:34 +0000 (11:05 +0000)]
UI: fix menus getting closed too quick when moving mouse not exactly towards
them, noticeable for the vertex groups or material slot utility menus.

8 years agopy/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of...
Campbell Barton [Thu, 19 May 2011 09:52:11 +0000 (09:52 +0000)]
py/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of Panel), it messes up re-registering panels.

8 years agochange window_to_3d to take screen coords as floats.
Campbell Barton [Thu, 19 May 2011 07:55:48 +0000 (07:55 +0000)]
change window_to_3d to take screen coords as floats.

8 years agoconverting grease pencil now works in the camera view.
Campbell Barton [Thu, 19 May 2011 07:43:10 +0000 (07:43 +0000)]
converting grease pencil now works in the camera view.

8 years agofix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str
Campbell Barton [Thu, 19 May 2011 06:27:39 +0000 (06:27 +0000)]
fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str

8 years agofix [#27437] Appending armatures with custom bone shapes brings no custom objects...
Campbell Barton [Thu, 19 May 2011 06:17:44 +0000 (06:17 +0000)]
fix [#27437] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit

8 years agoadd python access to mathutils.intersect_line_plane, update view3d_utils module to...
Campbell Barton [Thu, 19 May 2011 04:28:09 +0000 (04:28 +0000)]
add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.