Commit Graph

28630 Commits

Author SHA1 Message Date
M.G. Kishalmi
2158d05866 adjustments to recent commit:
* inv_ -> inverted_
* flagged image dirty after invert.
* restored properties accidently cut out of unpack operator.

brecht.beers[lmg]++
 thanks for paying attention! :)
2011-02-23 19:40:24 +00:00
Janne Karhu
3bee6abb74 Fix for [#26133] Explode modifier doesn't care about UVs (Option "split edges")
* This is basically a total rewrite of the edge split algorithm. The old one didn't handle tris at all and quads were cut wrong in some cases too with the addition of not handling uv coordinates at all.
* This new algorithm uses a flag system to categorize different splits and the identical but rotated cases in a similar way to how marching cubes indexes different cases.
* It cuts quads and tris and creates proper uv's for the new faces too.
* I also renamed the option to "edge cut" to differentiate if from the edge split modifier and added an option to override a uv-channel in the exploded mesh with particle age as x-coordinate so that the shrapnel can be faded out nicely etc.
2011-02-23 19:29:59 +00:00
Guillermo S. Romero
00c05c8404 Clean up headers a bit more. 2011-02-23 18:03:40 +00:00
Ton Roosendaal
962a4386bc Bugfix #26188
Having 2 or more windows open, a render in another window made the
other (active) window fail badly on F11 key (show render).

Now things should go smoothly. If a render is being shown in 
inactive windows, they get popped to the front nicely.
2011-02-23 15:52:05 +00:00
Lukas Toenne
4fe21e0b4f The material "Dynamic" node (disabled anyway) had incomplete base type initialization, which made it appear as an empty item in the input node category. 2011-02-23 13:50:41 +00:00
Campbell Barton
65bb4ff8d1 py/rna api:
ifdef'd out weakref for blender/py api, worth testing to see if it adds much overhead.
2011-02-23 13:43:45 +00:00
M.G. Kishalmi
f0f3d9a2ff added image-editor operators:
Invert Image Colors (RGB)
--
Invert Red Channel
Invert Green Channel
Invert Blue Channel
Invert Alpha Channel

mostly because of the recent changes in normalmap channels,
so users can adopt old bakes quickly.
though they might aswell prove useful in other situations.
2011-02-23 12:02:43 +00:00
M.G. Kishalmi
d7c29a0310 since the introduction of 'newbump' blender
was exporting normal maps with red and green channel inverted
relative to the geometry it actually exports.

This change makes blender export normal maps 
which are very similar to most tools out there.

patch by Morten S. Mikkelsen
2011-02-23 11:58:36 +00:00
Nathan Letwory
5b607701a7 doxygen: prevent GPL license block from being parsed as doxygen comment. 2011-02-23 10:52:22 +00:00
Janne Karhu
5a70edc4af Possible fix for [#26190] Changing particle amount crashes
* In some cases fluid particles could be born at the exact same locations. Now these cases are just ignored and such particles don't effect each other.
2011-02-23 10:42:27 +00:00
Campbell Barton
9416daf97e remove unused functions,
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.
2011-02-23 09:12:55 +00:00
Campbell Barton
9349374359 add back view 1:1 operator from 2.4x (Shift+PadEnter) 2011-02-23 06:48:47 +00:00
Campbell Barton
2f472ccd60 add back 2.4x mesh vertex sort/randomize operators, were called xsort and hash in 2.4x.
available from vertex menu.
2011-02-23 05:17:29 +00:00
Campbell Barton
0a7fecac8f add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F. 2011-02-23 04:58:08 +00:00
Campbell Barton
aeeb09bd56 fix [#26164] bpy.ops.transform.translate ignores AutoIK mode
auto-ik updates are done by notifiers at the moment which are ignored when running bpy.ops.transform.translate(), so add an special_aftertrans_update() check for this case.
2011-02-23 04:03:58 +00:00
Campbell Barton
43007d7fed - fix python error for poselib UI when none is active.
- add info to create_dupli_objects rna function docstring.
- transform snap had bad define, disabling BVH accelerated snap (own fault).
2011-02-23 03:08:14 +00:00
Campbell Barton
8378aa74fa python console namespace fix, merging namespace dicts was no good, since it pulled in private vars. use normal import command. 2011-02-23 01:20:40 +00:00
Nathan Letwory
3f96359d5a doxygen: make sure license blocks don't interfere. 2011-02-22 23:40:06 +00:00
Daniel Salazar
698f9948d8 Adding "frame" to print in background rendering for
"Calculating previous (frame) vectors"
now it fits better with
"Calculating next frame vectors"

@jesterking: yes you are

@jesterking: yes you are!!
2011-02-22 23:32:29 +00:00
Nathan Letwory
33ceadb2a6 "I must be an idiot" 2011-02-22 23:14:27 +00:00
Nathan Letwory
ce717ff355 doxygen fix, otherwise file doesn't show up in module section. 2011-02-22 23:10:51 +00:00
Campbell Barton
2fd60d9719 error in own recent moving addons functions into its own module. addon_utils.reset_all failed. 2011-02-22 22:24:50 +00:00
Nathan Letwory
8e3fcf007a doxygen: add Audaspace C API entry 2011-02-22 21:58:43 +00:00
Lukas Toenne
2d7b4d1579 Empty groups are now displayed with some basic spacing in edit mode. Long socket lists don't outgrow the group box any more; the box height is adjusted to fit the length of the socket list instead. 2011-02-22 21:22:27 +00:00
Lukas Toenne
e7750aa6ed Convenience fix: Exposing internal sockets now copies the default input value to the group sockets. The "expose" function on group inputs/outputs has an optional parameter "add_link", which can be used to prevent the automatic linking. 2011-02-22 20:49:34 +00:00
Guillermo S. Romero
692b711bf4 SVN maintenance. 2011-02-22 20:47:17 +00:00
Lukas Toenne
b3c60ef3ea Added RNA functions to group tree inputs/outputs for exposing internal sockets or adding custom sockets by name and type (fixes #26171). Changed a few function names for groups for consistency. 2011-02-22 20:24:06 +00:00
Nathan Letwory
1f4fc992ef doxygen: bge scenegraph and videotexture 2011-02-22 19:30:37 +00:00
Thomas Dinges
86e6c39f60 Material UI, patch by Ervin Weber (lusque). Thanks!
Now we have the old UI again, as suggested by several developers on the Mailing List. 
At least for simple materials. For Node Materials we keep the new Pipeline panel.

This should make both sides happy. :)
2011-02-22 19:22:27 +00:00
Ton Roosendaal
ca930c3208 Bugfix #25967
Node Materials: option "Front/Back" in geometry node failed for
"full osa" case in ZTransp.
2011-02-22 17:19:02 +00:00
Joerg Mueller
354fc0076e Fix for [#26160] Blender Crashes when undoing
Was trying to free audio data from sequencer strips that don't even have audio. Corrected the error in several ways so this will definitely not happen again :-)
2011-02-22 16:32:05 +00:00
Nathan Letwory
5e41760a15 doxygen: add bullet to extern libs, some small changes in page names, and fixes around license blocks 2011-02-22 16:12:12 +00:00
Campbell Barton
32c13137f5 disable some conflicting options WITH_PYTHON_MODULE 2011-02-22 14:27:46 +00:00
Campbell Barton
bde2f96257 blender as module - workaround for not knowing __file__ when the module is initialized. 2011-02-22 14:19:09 +00:00
Nathan Letwory
79f79e0cac doxygen: BGE Network, Physics, Rasterizer 2011-02-22 12:42:55 +00:00
Campbell Barton
eac95abdf2 missing deps for pacman 2011-02-22 12:36:36 +00:00
Ton Roosendaal
ef91644d5a Type in snapshort ;) 2011-02-22 12:25:31 +00:00
Campbell Barton
99d3b68d70 fix for uninitialized stack variable in displaying the modifier template. 2011-02-22 12:19:27 +00:00
Ton Roosendaal
8089f857ad Too many ifdefs made me miss the fact variables were declared inside
function...
2011-02-22 12:17:45 +00:00
Ton Roosendaal
1ad603c39e No idea why this goes wrong, but I can't get preprocessor output with
cmake here.

Somehow in OSX a function call doesn't return but enters a next function.
Will find around if someone else can make an OSX preprocessed version
of this C file. With this commit things go fine, and it's a sane check
anyway.
2011-02-22 12:01:57 +00:00
Nathan Letwory
148eb5ca9c remove unused code. 2011-02-22 11:43:50 +00:00
Campbell Barton
d60a5cfc55 feature back from 2.4x where a python error moves the cursor to the error line, added moving to exact column for syntax errors too. 2011-02-22 11:32:29 +00:00
Sergey Sharybin
ef6cbc3da0 Fixed crash when sculpting on deformed mesh with smooth brush:
vertex iter should be declared inside omp block or it'll be
thread-unsafe otherwise.
2011-02-22 10:56:49 +00:00
Nathan Letwory
5138615554 doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji 2011-02-22 10:33:14 +00:00
Janne Karhu
7729ecc98f Fix for [#26163] New Texture selectors don't update Texture preview
* Send texture notifier instead of generic property space notifier when texture context is changed.
2011-02-22 10:27:32 +00:00
Janne Karhu
fdf60eaca1 Bug fix: Fluidsim paths were not handled properly
* Tsk! Using sizeof(string) to determine string length works if the string is a char array, but not if it's a pointer to a char array!
* Now the fluid code uses the actual size of the string directly.
2011-02-22 09:34:43 +00:00
Campbell Barton
36c6c13a55 missed updating this when modifying addons module. 2011-02-22 09:14:29 +00:00
Campbell Barton
8186ba15ab last commit used py3.2 function, inline for py3.1 2011-02-22 08:29:25 +00:00
Lukas Toenne
d82ff93fa5 Small fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated in future. 2011-02-22 08:22:06 +00:00
Lukas Toenne
8b5d019139 Fixed missing initialization of node stack entries. 2011-02-22 07:58:49 +00:00