blender-image-layers:blender-image-layers.git
7 years agoSVN maintenance.
gsrb3d [Fri, 18 Feb 2011 19:33:19 +0000 (19:33 +0000)]
SVN maintenance.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34978 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoFix #26140: Text to 3D object (one object & one object per line) has the same shortcut
nazgul [Fri, 18 Feb 2011 19:10:14 +0000 (19:10 +0000)]
Fix #26140: Text to 3D object (one object & one object per line) has the same shortcut

Applying patch provided by Jorge Bernal (lordloki). Thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34977 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBugfix #26101
ton [Fri, 18 Feb 2011 17:53:11 +0000 (17:53 +0000)]
Bugfix #26101

Node editor: icons in header sometimes were on wrong locations.
The click hotspots were also off...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34976 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBugfix 26131
ton [Fri, 18 Feb 2011 16:47:10 +0000 (16:47 +0000)]
Bugfix 26131

Option "Align view to selected" only aligned to the last activated
item in editmode. This whilst code comment even said "use alignment
from Manipulator in normal mode".

Now it does what it's (apparently) meant to do, and what brazilians
think it should! ;) It aligns to selected!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34975 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBugfix #26135
ton [Fri, 18 Feb 2011 16:13:13 +0000 (16:13 +0000)]
Bugfix #26135

User Preferences
Using "no AA font" crashed, caused by commit to make static variables.
However, how this was ever meant to work... using such globals has to be
treated carefully. Fixed for now with XXX warning for Diego :)

Thanks to reporter Susanne H. to point at the right code!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34974 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBug fix: with bigger than 1 cache step dead particles didn't alway stay dead
jhk [Fri, 18 Feb 2011 15:21:52 +0000 (15:21 +0000)]
Bug fix: with bigger than 1 cache step dead particles didn't alway stay dead
* Particle die time wasn't properly taken into account when reading from the cache.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34973 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoFix for #26111, #26112 & #26121, "only first button click worked in windows"
jhk [Fri, 18 Feb 2011 15:06:02 +0000 (15:06 +0000)]
Fix for #26111, #26112 & #26121, "only first button click worked in windows"
* In windows the old button was tested to be equal to the new button (ui_but_equals_old()) even if their optype wasn't the same. Adding a check for optypes fixes all three reported issues.
* For some strange reason this didn't happen on other platforms.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34972 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoText space fixes:
nazgul [Fri, 18 Feb 2011 14:55:42 +0000 (14:55 +0000)]
Text space fixes:

- Bring back cursor set to PRESS event - block selection wouldn't
  have correct start position;
- Undo stack push was missed in cursor_set operator;
- Remove unneeded cursor moving at set_selection operator;
- Fixed bug with scroll bar - it shouldn't use EVT_TWEAK;

There could be still small issues with selecting single character by
mouse (due to EVT_TWEAK threashold), but this operator is for block
selection, not single char. So shouldn't be big pain here.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34971 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoRemove #ifdef __cplusplus, as it caused C2732 (differences in linkage). Compiles...
jesterking [Fri, 18 Feb 2011 14:50:49 +0000 (14:50 +0000)]
Remove #ifdef __cplusplus, as it caused C2732 (differences in linkage). Compiles and runs fine without.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34970 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoRemove header include, conflicts otherwise with BLI_math.h
jesterking [Fri, 18 Feb 2011 14:30:36 +0000 (14:30 +0000)]
Remove header include, conflicts otherwise with BLI_math.h

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34969 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoexamples for bpy.props
campbellbarton [Fri, 18 Feb 2011 14:27:18 +0000 (14:27 +0000)]
examples for bpy.props

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34968 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agodeclare round() and copysign() when on windows. Implementations for them already...
jesterking [Fri, 18 Feb 2011 14:22:46 +0000 (14:22 +0000)]
declare round() and copysign() when on windows. Implementations for them already where in math_base.c

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34967 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agodoxygen: add blenlib under core as module.
jesterking [Fri, 18 Feb 2011 13:58:08 +0000 (13:58 +0000)]
doxygen: add blenlib under core as module.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34966 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoAnother small text space usability: option to show right margin (aka print marign)
nazgul [Fri, 18 Feb 2011 13:57:54 +0000 (13:57 +0000)]
Another small text space usability: option to show right margin (aka print marign)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34965 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agorender engine example thanks to dougal2.
campbellbarton [Fri, 18 Feb 2011 13:40:13 +0000 (13:40 +0000)]
render engine example thanks to dougal2.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34964 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoadd ignores so doxygen output doesn't confuse.
jesterking [Fri, 18 Feb 2011 13:10:21 +0000 (13:10 +0000)]
add ignores so doxygen output doesn't confuse.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34963 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agodoxygen: blenkernel under core as module.
jesterking [Fri, 18 Feb 2011 13:05:18 +0000 (13:05 +0000)]
doxygen: blenkernel under core as module.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34962 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBugfix #26127
ton [Fri, 18 Feb 2011 12:53:46 +0000 (12:53 +0000)]
Bugfix #26127

Buttons drawing of floating point values still was using 4 digits
as maxumum precision. RNA definitions for float allows 7 easily.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34960 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBugfix #26128
ton [Fri, 18 Feb 2011 12:34:31 +0000 (12:34 +0000)]
Bugfix #26128

Compositor/texture nodes: math node now allows to use pow() for
negative raising too, but only when that value is near-integer.
For other negative cases result is zero.
Patch provided by Aurel W

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34959 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agodoxygen: readblenfile part of data group
jesterking [Fri, 18 Feb 2011 10:35:37 +0000 (10:35 +0000)]
doxygen: readblenfile part of data group

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34958 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoBGE Expressions: convert "\n" to real \n
dfelinto [Fri, 18 Feb 2011 10:10:48 +0000 (10:10 +0000)]
BGE Expressions: convert "\n" to real \n
example of usage:

0) Game Properties: text (String) and log (Boolean=True)
1) Keyboard Sensor set to AllKeys with log as logging and text as Target
2) Expression Controller: text=="quit\n"
3) Game Actuator: Quit Game

[1] <-> [2] <-> [3] .:. this will quit the game when you write quit + Enter

4) Keyboard Sensor: set to Return
5) And Controller
6) Property Actuator: Assign text property to ""

[4] <-> [5] <-> [6] .:. this will reset the string everytime you press Enter

# # # # # # # # # # # # # # # # # # # # # # #
Since the change is in the InputParser.cpp it actually affects all the text
input fields in the Logic Editor. So for instance you can use it in the
assign Property Actuator.
# # # # # # # # # # # # # # # # # # # # # # #
Connect an expression controller: text="idclip\n" with an actuator to disable
the Collision of your walls and you can re-create Doom with only Logic Bricks (:

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34957 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agoCheck the os.environ at the start of the build process.
jesterking [Fri, 18 Feb 2011 09:39:15 +0000 (09:39 +0000)]
Check the os.environ at the start of the build process.
Print any variable that contains a value with non-ascii
characters, then abort build.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34956 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agorevert accidental edit.
campbellbarton [Fri, 18 Feb 2011 08:49:11 +0000 (08:49 +0000)]
revert accidental edit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34955 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agopython api docs & examples for registrable Menu/Panel/Operator/PropertyGroup classes.
campbellbarton [Fri, 18 Feb 2011 08:47:37 +0000 (08:47 +0000)]
python api docs & examples for registrable Menu/Panel/Operator/PropertyGroup classes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34954 954f8c5b-7b00-dc11-b283-0030488c597c

7 years ago"Fix" for [#26130] Turbulence Force Field seed does not look to generate a new textur...
jhk [Fri, 18 Feb 2011 07:42:38 +0000 (07:42 +0000)]
"Fix" for [#26130] Turbulence Force Field seed does not look to generate a new texture when the seed changes via IPO keyframe
* Small force field ui changes to make things a bit clearer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34953 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agofix own mistake [#26125] Command line render, absence of CRLF on certain lines
campbellbarton [Fri, 18 Feb 2011 07:28:10 +0000 (07:28 +0000)]
fix own mistake [#26125] Command line render, absence of CRLF on certain lines

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34952 954f8c5b-7b00-dc11-b283-0030488c597c

7 years ago- clear some warnings
campbellbarton [Fri, 18 Feb 2011 06:07:41 +0000 (06:07 +0000)]
- clear some warnings
- rename layout.operator_enums -> operator_enum (since we have operator_menu_enum, only called in 4 places)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34951 954f8c5b-7b00-dc11-b283-0030488c597c

7 years agopy api was raising SystemError exception incorrectly, this is intended for internal...
campbellbarton [Fri, 18 Feb 2011 06:04:05 +0000 (06:04 +0000)]
py api was raising SystemError exception incorrectly, this is intended for internal interpreter problems.
Replace most with RuntimeError.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34950 954f8c5b-7b00-dc11-b283-0030488c597c