Blender Git Commit Log

All Blender Git commits.

Page: 6824 / 8462

May 28, 2011, 12:43 (GMT)
Fix: The radial control would fail, in sculpt mode, to set size if object-space sizing was enabled.

This was caused because a small part of sculpt's radial control code did not make it into the new version. The old code would set a new object-space size by scaling it proportional to how much the new screen-space size was changed.

The solution I implement here is to do the same scaling inside the RNA callbacks. This way, users of those properties do not have to worry about inconsistency.

I added a comment warning that brush_set_size, brush_set_unified_size, brush_unprojected_radius, and brush_set_unprojected_radius do not guarantee consistency because it is not always possible to precisely know what the new unprojected radius is in all contexts where you might set the size.

I would implement the consistency check at the lower level (in those listed functions) but at this time I think it needs to be looked at to make sure that won't cause problems. In addition, I am not sure that scaling by the ratio of change is strictly correct in all cases.

In any case, this at least fixes the immediate problem.
May 28, 2011, 12:33 (GMT)
rearranged previous patch to compile with C89
conversion to double probably not needed
better comments
May 28, 2011, 12:11 (GMT)
Introduce vars before using them, otherwise compile fails (reminder: with C, present all
your vars at the begin of the scope _before any other statement_).
May 28, 2011, 12:04 (GMT)
wrong rna access function used in node UI
May 28, 2011, 11:30 (GMT)
Fix: The radial control would fail, in sculpt mode, to set size if object-space sizing was enabled.

This was caused because a small part of sculpt's radial control code did not make it into the new version. The old code would set a new object-space size by scaling it proportional to how much the new screen-space size was changed.

The solution I implement here is to do the same scaling inside the RNA callbacks. This way, users of those properties do not have to worry about inconsistency.

I added a comment warning that brush_set_size, brush_set_unified_size, brush_unprojected_radius, and brush_set_unprojected_radius do not guarantee consistency because it is not always possible to precisely know what the new unprojected radius is in all contexts where you might set the size.

I would implement the consistency check at the lower level (in those listed functions) but at this time I think it needs to be looked at to make sure that won't cause problems. In addition, I am not sure that scaling by the ratio of change is strictly correct in all cases.

In any case, this at least fixes the immediate problem.
May 28, 2011, 10:01 (GMT)
!!Merge Complete!!
Compiles, cursory testing of on-surface brush, matcaps, and new texture mode.
Known Issue: new radial control does not seem to work with f-key resizing when 'lock size' is enabled. Need to check that this is not bug in trunk as well.
May 28, 2011, 09:59 (GMT)
better error reporting for seq_swap()
May 28, 2011, 09:34 (GMT)
move load_image into image_utils and add some docstrings to bpy_extras module.
May 28, 2011, 08:16 (GMT)
bugfix for: [#26753] PhysicsConstraints ID trouble on 64bit (linux at least).
[the problem also affected OSX]

PhysicsId are Long, not ints (see PyObject* KX_GameObject::PyGetPhysicsId() )

There is a reference in the code to use PyCapsule instead of int. I'm not sure
about that. This patch at least stops the crashes
(update: I talked with Campbell and he repeated that PyCapsule are better, but if long is working it's fine for now).
May 28, 2011, 07:47 (GMT)
- generate sphinx docs for bpy_extras module
- add in support to doc generator for automatically generating docs for submodules.
May 28, 2011, 07:15 (GMT)
BGE Animation:
* Adding IPOs to BL_Action
* Adding a "speed" option to adjust the playback speed by some factor
May 28, 2011, 06:18 (GMT)
source/tests directory was missing
May 28, 2011, 04:53 (GMT)
include ffmpeg_compat header in cmake source list.
May 28, 2011, 03:18 (GMT)
Merge Cleanup.
Forth to make sure branch is a copy of trunk. This time the revision is 36950. Mostly svn property fixes. Biggest concern was missing 'svn:eol-style = native' tags, but also a lot of random 'svn:mergeinfo=' tages (yes, the merge info was empty). Probably need to remove these in trunk, but I added them back to clean up my diff.
May 28, 2011, 01:29 (GMT)
fix for embeded BGE viewport broken when not using letterboxing
this was broken after rev.36787 (api rewritten)
own reported bug, nowhere in the track (just to mess up with the bug fixing statistics)
May 28, 2011, 00:07 (GMT)
== FFMPEG ==

Small fix for a very old bug in swscaler color space support detection.

May 27, 2011, 23:46 (GMT)
== FFMPEG ==
Revert of "SVN commit: /data/svn/bf-blender [36957]
trunk/blender/source/gameengine/ VideoTexture/VideoFFmpeg.cpp: fix for
ffmpeg linking in BGE ( patch by Jens Verwiebe (jensverwiebe) over IRC)"

Sorry folks, that patch breaks current ffmpeg GIT version.

Good news: it's all handled now automagically by ffmpeg_compat.h in
intern/ffmpeg

so: everything should be fine and dandy for very old and very new versions.



May 27, 2011, 23:33 (GMT)
== FFMPEG ==

Added central compatibility header file, which enables blender to compile
against very old ffmpeg versions as well as very new versions using the
*NEW* API. (Old API functions are simulated using macros and inline functions)

Added a whole lot of additional checks, tested against 6 different versions
down the timeline, hopefully, now finally all is well.

May 27, 2011, 21:13 (GMT)
fix for ffmpeg linking in BGE (patch by Jens Verwiebe (jensverwiebe) over IRC)
- av_parse_video_rate(&frameRate, rateStr);
+ av_parse_video_frame_rate(&frameRate, rateStr);
Revision 3cde378 by Jason Hays (master)
May 27, 2011, 19:13 (GMT)

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021