Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(41)

Issue 4517077: Allow to change the strenght of the "go behind" constraint of the camera actuator

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 2 months ago by BatO
Modified:
15 years, 2 months ago
Reviewers:
dfelinto
CC:
bf-codereview_blender.org
Base URL:
https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Visibility:
Public.

Patch Set 1 #

Total comments: 11

Patch Set 2 : Allow to change the strenght of the "go behind" constraint of the camera actuator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -6 lines) Patch
M source/blender/blenkernel/intern/sca.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M source/blender/blenloader/intern/readfile.c View 1 1 chunk +15 lines, -0 lines 0 comments Download
M source/blender/editors/space_logic/logic_window.c View 1 1 chunk +2 lines, -0 lines 0 comments Download
M source/blender/makesdna/DNA_actuator_types.h View 1 1 chunk +1 line, -1 line 0 comments Download
M source/blender/makesrna/intern/rna_actuator.c View 1 1 chunk +7 lines, -0 lines 0 comments Download
M source/gameengine/Converter/KX_ConvertActuators.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M source/gameengine/Ketsji/KX_CameraActuator.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M source/gameengine/Ketsji/KX_CameraActuator.cpp View 1 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 2
dfelinto
Patch looks good, one thing missing (I forgot that in the email, sorry) is python ...
15 years, 2 months ago (2011-05-17 18:00:00 UTC) #1
BatO
15 years, 2 months ago (2011-05-18 15:43:34 UTC) #2
Hi,

I updated my patch, following the comment made by dfelinto on
http://codereview.appspot.com/4517077/.

I try to add python access to the new value also, but i'm not sure if this is
enought.

http://codereview.appspot.com/4517077/diff/1/source/blender/blenloader/intern...
File source/blender/blenloader/intern/readfile.c (right):

http://codereview.appspot.com/4517077/diff/1/source/blender/blenloader/intern...
source/blender/blenloader/intern/readfile.c:11614: {
On 2011/05/17 18:00:00, dfelinto wrote:
> You actually want to move your code to here. under those { }
> for your internal use, to avoid the parameters to be set every time you open
the
> file you can patch your own blender. For trunk however, it will be here
waiting
> for the next "version bump"

Done.

http://codereview.appspot.com/4517077/diff/1/source/blender/editors/space_log...
File source/blender/editors/space_logic/logic_window.c (right):

http://codereview.appspot.com/4517077/diff/1/source/blender/editors/space_log...
source/blender/editors/space_logic/logic_window.c:2203: ysize= 68;
On 2011/05/17 18:00:00, dfelinto wrote:
> no need this (see below)

Done.

http://codereview.appspot.com/4517077/diff/1/source/blender/editors/space_log...
source/blender/editors/space_logic/logic_window.c:2222: printf("BLA\n");
ho.. woops =)

http://codereview.appspot.com/4517077/diff/1/source/blender/editors/space_log...
source/blender/editors/space_logic/logic_window.c:2222: printf("BLA\n");
On 2011/05/17 18:00:00, dfelinto wrote:
> no need to change here, this is the old ui code. (printf("BLA")?? ;)

Done.

http://codereview.appspot.com/4517077/diff/1/source/blender/makesdna/DNA_actu...
File source/blender/makesdna/DNA_actuator_types.h (right):

http://codereview.appspot.com/4517077/diff/1/source/blender/makesdna/DNA_actu...
source/blender/makesdna/DNA_actuator_types.h:136: float pad;
On 2011/05/17 18:00:00, dfelinto wrote:
> I would use this pad instead.

Done.

http://codereview.appspot.com/4517077/diff/1/source/blender/makesrna/intern/r...
File source/blender/makesrna/intern/rna_actuator.c (right):

http://codereview.appspot.com/4517077/diff/1/source/blender/makesrna/intern/r...
source/blender/makesrna/intern/rna_actuator.c:929:
RNA_def_property_ui_text(prop, "Behind strenght", "Specify the strenght of the
constraint that drive the camera behind the target");
On 2011/05/17 18:00:00, dfelinto wrote:
> "Behind Strenght" (always capitalize all the words)

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b