7 years agoCycles / HSV Separator and Combine node:
Thomas Dinges [Wed, 31 Jul 2013 21:27:48 +0000 (21:27 +0000)]
Cycles / HSV Separator and Combine node:
* Added nodes to separate and combine hsv colors.

Part of my GSoC 2013 project, SVN merge of r57981.

7 years agoCycles / Vector Transform node:
Thomas Dinges [Wed, 31 Jul 2013 21:18:23 +0000 (21:18 +0000)]
Cycles / Vector Transform node:
* Add a note to convert a Vector, Point or Normal between World <=> Camera <=> Object coordinate space.


Part of my GSoC 2013 project, SVN merge of r57599, r57670, r57918, r57919, r58245 and r58775.

7 years agoCycles / Blackbody to RGB node:
Thomas Dinges [Wed, 31 Jul 2013 20:56:32 +0000 (20:56 +0000)]
Cycles / Blackbody to RGB node:
* Added a node to convert a temperature in Kelvin to an RGB color. This can be used e.g. for lights, to easily find the right color temperature.
= Some common temperatures =
Candle light: 1500 Kelvin
Sunset/Sunrise: 1850 Kelvin
Studio lamps: 3200 Kelvin
Horizon daylight: 5000 Kelvin


Thanks to Philipp Oeser (lichtwerk), who essentially contributed to this with a patch! :)

This is part of my GSoC 2013 project. SVN merge of r57424, r57487, r57507, r57525, r58253 and r58774

7 years agofix for BLI_ghash_clear from Sv. Lockal (lockal)
Campbell Barton [Wed, 31 Jul 2013 20:50:55 +0000 (20:50 +0000)]
fix for BLI_ghash_clear from Sv. Lockal (lockal)

7 years agoCycles / Ray Depth:
Thomas Dinges [Wed, 31 Jul 2013 20:30:37 +0000 (20:30 +0000)]
Cycles / Ray Depth:
* Added a Ray Depth output to the Light Path node, which gives the user access to the current bounce.
This can be used to limit the maximum ray bounce on a per shader basis. Another use case is to restrict light influence with this, to have a lamp only contribute to the direct lighting.

This is part of my GSoC 2013 project. SVN merge of r58091 and r58772 from soc-2013-dingto.

7 years agoCode cleanup: libmv C API
Joseph Mansfield [Wed, 31 Jul 2013 13:48:12 +0000 (13:48 +0000)]
Code cleanup: libmv C API

Clean up inconsistencies in the libmv C API:
- All type identifiers are libmv_TypeName
- All function identifiers libmv_functionName
- Prefer libmv_nounVerb function names (e.g. libmv_featuresDestroy)
- Match Blender code formatting rather than Google
- Spelling corrections

Code review:

7 years agoFix #36267 part 2 of 2: Fix for reroute node values in old shader node stack system...
Lukas Toenne [Wed, 31 Jul 2013 12:26:03 +0000 (12:26 +0000)]
Fix #36267 part 2 of 2: Fix for reroute node values in old shader node stack system. They were overwriting stack values from their input nodes, because the system would not detect that these sockets
actually just point to existing defined stack values. To make the link check work, set the socket->link pointer if internal node connections exist, this works for both muted and reroute nodes.

7 years agoFix #36267, part 1 of 2: fix for reroute node type updates. The reroute nodes change...
Lukas Toenne [Wed, 31 Jul 2013 12:26:01 +0000 (12:26 +0000)]
Fix #36267, part 1 of 2: fix for reroute node type updates. The reroute nodes change their socket type based on what they are connected to, to work as pass-through nodes with as little conversion as

Problem was/is that the nodes can set the 'type' property, but in order to actually change the data type they would also need to update the typeinfo pointer (and idname), which is strongly discouraged.
Solution is to just replace the input/output sockets of the reroute node with new sockets of the desired type and port all links over.

7 years agocode cleanup: remove redundant NULL checks
Campbell Barton [Wed, 31 Jul 2013 09:18:40 +0000 (09:18 +0000)]
code cleanup: remove redundant NULL checks

7 years agoadd NULL checks in eyedropper_color_sample_fl since BKE_area_find_region_type may...
Campbell Barton [Wed, 31 Jul 2013 09:17:58 +0000 (09:17 +0000)]
add NULL checks in eyedropper_color_sample_fl since BKE_area_find_region_type may not find a region.

7 years agoUse bool instead of int.
Sergey Sharybin [Wed, 31 Jul 2013 03:44:45 +0000 (03:44 +0000)]
Use bool instead of int.

7 years agoFix #36302: Multires baking to zero 0 was showing error but still was baking
Sergey Sharybin [Wed, 31 Jul 2013 03:35:45 +0000 (03:35 +0000)]
Fix #36302: Multires baking to zero 0 was showing error but still was baking

We do not support baking to level 0, disabled this completely now.

7 years agoUse malloc in cases when data is getting overwriten after allocation.
Sergey Sharybin [Tue, 30 Jul 2013 18:49:40 +0000 (18:49 +0000)]
Use malloc in cases when data is getting overwriten after allocation.

7 years agoCycles / Non-Progressive integrator:
Thomas Dinges [Tue, 30 Jul 2013 12:56:39 +0000 (12:56 +0000)]
Cycles / Non-Progressive integrator:
* Avoid check for !LABEL_TRANSPARENT in "kernel_path_non_progressive_lighting", transparency is either handled in the outer loop or in the "kernel_path_indirect" function, but not here.

7 years agofix: [#36148] Collada instance nodes are not scaled properly during import
Gaia Clary [Tue, 30 Jul 2013 12:18:24 +0000 (12:18 +0000)]
fix: [#36148] Collada instance nodes are not scaled properly during import

7 years agoapply world matrix only to armature, Bones and children get it implicit via parenting
Gaia Clary [Tue, 30 Jul 2013 11:10:04 +0000 (11:10 +0000)]
apply world matrix only to armature, Bones and children get it implicit via parenting

7 years agofunction renaming for own recently added BLI_math functions, suggested by Brecht.
Campbell Barton [Tue, 30 Jul 2013 10:58:36 +0000 (10:58 +0000)]
function renaming for own recently added BLI_math functions, suggested by Brecht.

7 years agofix for error in own recent changes to transform initialization, proportional editmod...
Campbell Barton [Tue, 30 Jul 2013 09:50:17 +0000 (09:50 +0000)]
fix for error in own recent changes to transform initialization, proportional editmode needs to skip hidden faces.

7 years agoCycles:
Thomas Dinges [Tue, 30 Jul 2013 09:26:45 +0000 (09:26 +0000)]
* Increase the maximum amount of closures per shader from 16 to 64, so more complex closure trees can be rendered.

I measured performance on CPU and GPU (Geforce 540M) and couldn't find a performance impact, but if someone encounters a noticeable impact on his system, please report.

7 years agoFix for [#36321] 'Mark Freestyle Edge' still showing with Cycles renderer
Thomas Dinges [Tue, 30 Jul 2013 09:00:31 +0000 (09:00 +0000)]
Fix for [#36321] 'Mark Freestyle Edge' still showing with Cycles renderer
* Now we hide Freestyle properties when "use_shading_nodes" is true.

7 years agoRemove superfluous iterations (caused by typo) and type casts in outliner
Sv. Lockal [Tue, 30 Jul 2013 08:45:45 +0000 (08:45 +0000)]
Remove superfluous iterations (caused by typo) and type casts in outliner

This significantly lowers the position of outliner_draw_tree_element in profiler
and partially fixes [#36260] (2,300 Objects Makes Blender Unresponsive)

7 years agoMinor change to the template that has some consequences for addons...
Lukas Toenne [Tue, 30 Jul 2013 08:30:15 +0000 (08:30 +0000)]
Minor change to the template that has some consequences for addons: use bpy.types.* base classes instead of bpy_types.*

The bpy_types classes cause issues when used in addons when loading on Blender startup (subclasses cannot be properly registered).

7 years agoCollada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition
Gaia Clary [Tue, 30 Jul 2013 07:32:37 +0000 (07:32 +0000)]
Collada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition

7 years agoCollada: unit converter was not initialized for ArmatureImporter
Gaia Clary [Tue, 30 Jul 2013 07:22:40 +0000 (07:22 +0000)]
Collada: unit converter was not initialized for ArmatureImporter

7 years agoMissed a couple of files for the vsync commit (r58729).
Mitchell Stokes [Mon, 29 Jul 2013 22:36:51 +0000 (22:36 +0000)]
Missed a couple of files for the vsync commit (r58729).

7 years agoBGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive...
Mitchell Stokes [Mon, 29 Jul 2013 22:31:32 +0000 (22:31 +0000)]
BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.

7 years agoBGE: Adding bge.physics as another alias for the PhysicsConstraints module.
Mitchell Stokes [Mon, 29 Jul 2013 22:20:06 +0000 (22:20 +0000)]
BGE: Adding bge.physics as another alias for the PhysicsConstraints module.

7 years agoCollada: Optimize Scale to scene. Only need to scale the root objects of a hierarchy
Gaia Clary [Mon, 29 Jul 2013 22:15:04 +0000 (22:15 +0000)]
Collada: Optimize Scale to scene. Only need to scale the root objects of a hierarchy

7 years agoCollada: Import now always rotates input to match blender's Z_UP axis
Gaia Clary [Mon, 29 Jul 2013 21:51:53 +0000 (21:51 +0000)]
Collada: Import now always rotates input to match blender's Z_UP axis

7 years agoAdded Scene scale calculator to UnitConverter for future usage (wip)
Gaia Clary [Mon, 29 Jul 2013 21:22:59 +0000 (21:22 +0000)]
Added Scene scale calculator to UnitConverter for future usage (wip)

7 years agoFix #36290: cycles generated texture coordinates were not sticking to the
Brecht Van Lommel [Mon, 29 Jul 2013 19:39:23 +0000 (19:39 +0000)]
Fix #36290: cycles generated texture coordinates were not sticking to the
surface again, got lost in an unrelated optimization.

7 years agoAdded/changed comment for clarification
Gaia Clary [Mon, 29 Jul 2013 17:27:27 +0000 (17:27 +0000)]
Added/changed comment for clarification

7 years agoFix #36235: cycles crash deactivating render layer during rendering.
Brecht Van Lommel [Mon, 29 Jul 2013 15:32:24 +0000 (15:32 +0000)]
Fix #36235: cycles crash deactivating render layer during rendering.

7 years agoFix #36264, New modulo math node not viewable in GLSL mode. Modulo math operation...
Lukas Toenne [Mon, 29 Jul 2013 11:42:23 +0000 (11:42 +0000)]
Fix #36264, New modulo math node not viewable in GLSL mode. Modulo math operation was simply missing the switch statement for gpu execution.

7 years agofix [#36280] Dynamic Topology crashes with active face
Campbell Barton [Mon, 29 Jul 2013 09:18:35 +0000 (09:18 +0000)]
fix [#36280] Dynamic Topology crashes with active face

7 years agoadd asserts to ensure face normal is up to date.
Campbell Barton [Mon, 29 Jul 2013 09:12:23 +0000 (09:12 +0000)]
add asserts to ensure face normal is up to date.

7 years agoadd api call for initializing events from the windows eventstate.
Campbell Barton [Mon, 29 Jul 2013 08:29:04 +0000 (08:29 +0000)]
add api call for initializing events from the windows eventstate.

7 years agofix for possible dounle fclose in makesrna's replace_if_different function.
Campbell Barton [Mon, 29 Jul 2013 08:01:12 +0000 (08:01 +0000)]
fix for possible dounle fclose in makesrna's replace_if_different function.

7 years agobmesh optimization (noted as todo), avoid recalculating normal every time BM_face_leg...
Campbell Barton [Mon, 29 Jul 2013 06:04:09 +0000 (06:04 +0000)]
bmesh optimization (noted as todo), avoid recalculating normal every time BM_face_legal_splits() runs,
assume normal is valid (assert when its not).

7 years agominor changes for confusing code.
Campbell Barton [Mon, 29 Jul 2013 04:45:40 +0000 (04:45 +0000)]
minor changes for confusing code.
- memset() was argument was truncated.
- outliner had redundant NULL check.
- node texture was allocating memory to make a unique name which isnt needed for a fixed size string.

7 years agomake code style of makesrna.c conform to the rest of blender, was also some odd inden...
Campbell Barton [Mon, 29 Jul 2013 04:18:01 +0000 (04:18 +0000)]
make code style of makesrna.c conform to the rest of blender, was also some odd indentation for property and struct definitions.

7 years agorename term 'grid node' --> 'grid division' wtr snapping tips.
Campbell Barton [Mon, 29 Jul 2013 03:01:53 +0000 (03:01 +0000)]
rename term 'grid node' --> 'grid division' wtr snapping tips.

7 years agoUI / Code:
Thomas Dinges [Sun, 28 Jul 2013 22:12:19 +0000 (22:12 +0000)]
UI / Code:
Cody style changes for r58692.
* First of all, UI code is really simple, especially in such small panels, no need to comment obvious things like left/right column.
* "if 1" nested structs for code clarity? That's a really bad thing, especially if you have 3  lines which belong together, but only 2 of them are indented...

    sub = row.row() = obj.show_bounds
sub.prop(obj, "draw_bounds_type", text="")

* Empty line after layout = self.layout declarations, we still follow these Rules.


7 years agonew mesh tool for cleaning up meshes, splits up non-planar faces while they exceed...
Campbell Barton [Sun, 28 Jul 2013 19:53:46 +0000 (19:53 +0000)]
new mesh tool for cleaning up meshes, splits up non-planar faces while they exceed a given angle threshold
(access from the 'Mesh -> Clean' menu).

7 years agoadd inline functions getting a single axis from mul_m3_v3()
Campbell Barton [Sun, 28 Jul 2013 19:46:33 +0000 (19:46 +0000)]
add inline functions getting a single axis from mul_m3_v3()

7 years agouse '_exec' suffix for operator execute callbacks, also picky change to sizeof()...
Campbell Barton [Sun, 28 Jul 2013 17:06:31 +0000 (17:06 +0000)]
use '_exec' suffix for operator execute callbacks, also picky change to sizeof() use in BLI_array.h

7 years agoadd BLI_alloca.h, missed in previous commit
Campbell Barton [Sun, 28 Jul 2013 12:17:00 +0000 (12:17 +0000)]
add BLI_alloca.h, missed in previous commit

7 years agopatch [#36233] Fix Halo and Billboard Normal and Behavior
Campbell Barton [Sun, 28 Jul 2013 12:03:53 +0000 (12:03 +0000)]
patch [#36233] Fix Halo and Billboard Normal and Behavior
from Vitor Balbio (vitorbalbio)

Fixes billboard flipping (flipped normals and textures too)

7 years agopatch [#36296] object->display-properties subpanel layout cleanup
Campbell Barton [Sun, 28 Jul 2013 11:43:11 +0000 (11:43 +0000)]
patch [#36296] object->display-properties subpanel layout cleanup
from David Jeske (jeske), with minor edits of my own.

7 years agomove suspicious break statement in drawDispListsolid() to prevent falling through.
Campbell Barton [Sun, 28 Jul 2013 11:15:26 +0000 (11:15 +0000)]
move suspicious break statement in drawDispListsolid() to prevent falling through.

7 years agomove alloca define into its own header since its not related to BLI_array
Campbell Barton [Sun, 28 Jul 2013 10:38:25 +0000 (10:38 +0000)]
move alloca define into its own header since its not related to BLI_array

7 years agobmesh: skip error checks when building in release mode (minor speedup),
Campbell Barton [Sun, 28 Jul 2013 09:05:27 +0000 (09:05 +0000)]
bmesh: skip error checks when building in release mode (minor speedup),
also more strict use of BLI_array_declare(), only allow after array is declared.

7 years agofix for freed memory access clearing tracks in the clip editor.
Campbell Barton [Sun, 28 Jul 2013 07:11:00 +0000 (07:11 +0000)]
fix for freed memory access clearing tracks in the clip editor.

7 years agoremove unneeded NULL checks, add one for give_matarar() return value.
Campbell Barton [Sun, 28 Jul 2013 06:37:58 +0000 (06:37 +0000)]
remove unneeded NULL checks, add one for give_matarar() return value.

7 years agocode cleanup: remove unused code
Campbell Barton [Sat, 27 Jul 2013 18:17:19 +0000 (18:17 +0000)]
code cleanup: remove unused code

7 years agofix for BKE_deform_split_suffix()
Campbell Barton [Sat, 27 Jul 2013 18:16:22 +0000 (18:16 +0000)]
fix for BKE_deform_split_suffix()
- out of bounds read when passing in empty string.
- single character prefix didnt work.
- with no suffix, the string body was truncated.

7 years agoremove unused code & some redundant NULL checks.
Campbell Barton [Sat, 27 Jul 2013 16:39:00 +0000 (16:39 +0000)]
remove unused code & some redundant NULL checks.

7 years agocleanup ED_view3d_from_m4() ambiguity with NULL checks, now assert if dist is set...
Campbell Barton [Sat, 27 Jul 2013 14:44:52 +0000 (14:44 +0000)]
cleanup ED_view3d_from_m4() ambiguity with NULL checks, now assert if dist is set up but ofs.
also small optimization for matrix conversion.

7 years agocorrect sloppy NULL checks, in interface code:
Campbell Barton [Sat, 27 Jul 2013 14:17:20 +0000 (14:17 +0000)]
correct sloppy NULL checks, in interface code:
- uiPupMenuBegin was checking for NULL title but would still crash if it were NULL.
- now tag the function as 'nonnull' and remove NULL checks. make sure NULL isnt passed to it.

7 years agocode cleanup: remove redundant NULL checks and avoid writing to the source string.
Campbell Barton [Sat, 27 Jul 2013 14:05:59 +0000 (14:05 +0000)]
code cleanup: remove redundant NULL checks and avoid writing to the source string.
also rename BLI_replacestr() -> BLI_replacestrN() since it returns an allocated buffer.

7 years agoCode cleanup: Remove unused and unneeded code
Joshua Leung [Sat, 27 Jul 2013 11:55:38 +0000 (11:55 +0000)]
Code cleanup: Remove unused and unneeded code

7 years agoStyle Cleanup for r.58659
Joshua Leung [Sat, 27 Jul 2013 11:54:52 +0000 (11:54 +0000)]
Style Cleanup for r.58659

Use proper RNA API function that was designed to be used in this case instead of
using ugly syntax

7 years agofix for reading outside allocated memory when switching to the 3D view.
Campbell Barton [Sat, 27 Jul 2013 10:32:27 +0000 (10:32 +0000)]
fix for reading outside allocated memory when switching to the 3D view.

7 years agofix for possible use of uninitialized variable in pastebuf_match_path_property()
Campbell Barton [Sat, 27 Jul 2013 09:38:34 +0000 (09:38 +0000)]
fix for possible use of uninitialized variable in pastebuf_match_path_property()
wasn't checking if RNA_path_resolve() succeeded.

7 years agocode cleanup for thumbnails:
Campbell Barton [Sat, 27 Jul 2013 09:26:22 +0000 (09:26 +0000)]
code cleanup for thumbnails:
- use URI_MAX define
- replace strcat with BLI_snprintf.

7 years agoremove unused code from object convert and indent.
Campbell Barton [Sat, 27 Jul 2013 09:20:10 +0000 (09:20 +0000)]
remove unused code from object convert and indent.

7 years agofix for possible out of bounds read, printing a warning with pointcache header.
Campbell Barton [Sat, 27 Jul 2013 09:19:03 +0000 (09:19 +0000)]
fix for possible out of bounds read, printing a warning with pointcache header.

7 years agofix for writing to freed memory enabling texture node tree
Campbell Barton [Sat, 27 Jul 2013 08:21:43 +0000 (08:21 +0000)]
fix for writing to freed memory enabling texture node tree

7 years agointernal api: args passed to ui_but_equals_old() were wrong order.
Campbell Barton [Sat, 27 Jul 2013 08:06:46 +0000 (08:06 +0000)]
internal api: args passed to ui_but_equals_old() were wrong order.

7 years agocode cleanup: typos
Campbell Barton [Sat, 27 Jul 2013 07:02:27 +0000 (07:02 +0000)]
code cleanup: typos

7 years agosimplify triangle joining and remove use of BLI_array.
Campbell Barton [Sat, 27 Jul 2013 06:45:11 +0000 (06:45 +0000)]
simplify triangle joining and remove use of BLI_array.

7 years agofix for joining face selection after recent api change, also bmo_join_triangles_exec...
Campbell Barton [Sat, 27 Jul 2013 06:11:54 +0000 (06:11 +0000)]
fix for joining face selection after recent api change, also bmo_join_triangles_exec() wasn't filling in its 'face' output slot.

7 years agofix for bridge tool selection flushing (after recent api change), also exposed bug...
Campbell Barton [Sat, 27 Jul 2013 05:57:20 +0000 (05:57 +0000)]
fix for bridge tool selection flushing (after recent api change), also exposed bug in bmesh edgering-subdiv operator.

7 years agoImport of single bones used infinite bone size
Gaia Clary [Fri, 26 Jul 2013 22:19:46 +0000 (22:19 +0000)]
Import of single bones used infinite bone size

7 years agofix [#36270] Crash with pinning
Campbell Barton [Fri, 26 Jul 2013 16:19:26 +0000 (16:19 +0000)]
fix [#36270] Crash with pinning

7 years agofix [#36286] UV face display not working for concave ngons
Campbell Barton [Fri, 26 Jul 2013 15:35:16 +0000 (15:35 +0000)]
fix [#36286] UV face display not working for concave ngons

7 years agofix for error in BLI_buffer_declare_static(), the stack variable wasn't the right...
Campbell Barton [Fri, 26 Jul 2013 15:26:51 +0000 (15:26 +0000)]
fix for error in BLI_buffer_declare_static(), the stack variable wasn't the right size, from original commit 53440.
Caused UV stretch display to fail.

7 years agofix [#36282] Spin error with non uniform scale
Campbell Barton [Fri, 26 Jul 2013 11:15:22 +0000 (11:15 +0000)]
fix [#36282] Spin error with non uniform scale
add support for passing object matrix to bmesh transform operators.

7 years agouse math functions for copying matrix/vector types, also cast const pointers for...
Campbell Barton [Fri, 26 Jul 2013 10:43:23 +0000 (10:43 +0000)]
use math functions for copying matrix/vector types, also cast const pointers for freeing (clang error's out otherwise)

7 years agofix for incorrect null check in RE_engine_update_stats
Campbell Barton [Fri, 26 Jul 2013 10:11:18 +0000 (10:11 +0000)]
fix for incorrect null check in RE_engine_update_stats

7 years agooptimization: call one bmesh operator for rotate (not 3).
Campbell Barton [Fri, 26 Jul 2013 06:12:49 +0000 (06:12 +0000)]
optimization: call one bmesh operator for rotate (not 3).
added pivot_m4() utility function since rotating about an arbitrary point is handy.

7 years agofix [#36277] Right click no longer selects the camera
Campbell Barton [Fri, 26 Jul 2013 05:08:24 +0000 (05:08 +0000)]
fix [#36277] Right click no longer selects the camera

7 years agofix [#36283] Crash by activating "Clear Active" in Movie Clip Editor
Campbell Barton [Fri, 26 Jul 2013 04:36:53 +0000 (04:36 +0000)]
fix [#36283] Crash by activating "Clear Active" in Movie Clip Editor

7 years agoBGE Fix [#18804] Shadow type faces cast onto invisible faces (non-GLSL)
Daniel Stokes [Thu, 25 Jul 2013 23:42:20 +0000 (23:42 +0000)]
BGE Fix [#18804] Shadow type faces cast onto invisible faces (non-GLSL)

Changing the RayHit method to ignore invisible faces

7 years agoadd twist option to bridge tool (for circular loops)
Campbell Barton [Thu, 25 Jul 2013 19:27:18 +0000 (19:27 +0000)]
add twist option to bridge tool (for circular loops)

7 years agomesh tool to fill in holes, added in mesh clean menu,
Campbell Barton [Thu, 25 Jul 2013 18:43:05 +0000 (18:43 +0000)]
mesh tool to fill in holes, added in mesh clean menu,
unlike other face creation tools it copies data from surrounding faces.

7 years agofix for face normal flipping calculation.
Campbell Barton [Thu, 25 Jul 2013 18:16:55 +0000 (18:16 +0000)]
fix for face normal flipping calculation.

7 years agoFix for own commit, stub functions all use the STUB_ASSERT macro now.
Lukas Toenne [Thu, 25 Jul 2013 16:04:26 +0000 (16:04 +0000)]
Fix for own commit, stub functions all use the STUB_ASSERT macro now.

7 years agoFix for bad level call introduced in r58597.
Lukas Toenne [Thu, 25 Jul 2013 15:38:22 +0000 (15:38 +0000)]
Fix for bad level call introduced in r58597.

7 years agoskip creating the draw-string for number buttons while editing the text (value was...
Campbell Barton [Thu, 25 Jul 2013 13:24:32 +0000 (13:24 +0000)]
skip creating the draw-string for number buttons while editing the text (value was overwritten)

7 years agoui: internal change. replace strcat with BLI string functions for key-event drawing.
Campbell Barton [Thu, 25 Jul 2013 13:18:11 +0000 (13:18 +0000)]
ui: internal change. replace strcat with BLI string functions for key-event drawing.

7 years agoadd missing break to space-buttons listener, also rewind own recent change (uiPopupBl...
Campbell Barton [Thu, 25 Jul 2013 12:46:20 +0000 (12:46 +0000)]
add missing break to space-buttons listener, also rewind own recent change (uiPopupBlockHandle.retvec size)

7 years agoadd missing va_end() calls.
Campbell Barton [Thu, 25 Jul 2013 12:37:22 +0000 (12:37 +0000)]
add missing va_end() calls.

7 years agoadjust createSpaceNormalTangent so it can take values from a matrix without having...
Campbell Barton [Thu, 25 Jul 2013 12:07:55 +0000 (12:07 +0000)]
adjust createSpaceNormalTangent so it can take values from a matrix without having to negate the plane first.
also add ED_armature_ebone_to_mat3/4 since there were quite a few places that did this inline.

7 years agofix [#36278] X,Y Direction wrong after bpy.ops.view3d.viewnumpad
Campbell Barton [Thu, 25 Jul 2013 11:05:08 +0000 (11:05 +0000)]
fix [#36278] X,Y Direction wrong after bpy.ops.view3d.viewnumpad

the cause of the problem was the orientation from the active object was inconstant.
copying the obmat directly gave a different result then getting the normal,tangent from getTransformOrientation and passing to createSpaceNormalTangent.

7 years agooptimization: manipulator was looping over all objects on redraw when the active...
Campbell Barton [Thu, 25 Jul 2013 08:36:35 +0000 (08:36 +0000)]
optimization: manipulator was looping over all objects on redraw when the active object was being used and it didn't need to.

7 years agotriangulate and beauty fill also needed changes to selection handling after recent...
Campbell Barton [Thu, 25 Jul 2013 07:00:07 +0000 (07:00 +0000)]
triangulate and beauty fill also needed changes to selection handling after recent changes.

7 years agocorrect problem with limited-dissolve not leaving the selection correctly (caused...
Campbell Barton [Thu, 25 Jul 2013 06:05:44 +0000 (06:05 +0000)]
correct problem with limited-dissolve not leaving the selection correctly (caused by BM_elem_attrs_copy no longer dealing with selection)

7 years agoadd api function BLI_path_append to add to a path (and ensure a seperator), replaces...
Campbell Barton [Wed, 24 Jul 2013 21:25:06 +0000 (21:25 +0000)]
add api function BLI_path_append to add to a path (and ensure a seperator), replaces BLI_join_dirfile when the dir and the destimation were the same.

7 years agofix/workaround [#36269] Crash upon right click on menu and left click on item
Campbell Barton [Wed, 24 Jul 2013 20:53:24 +0000 (20:53 +0000)]
fix/workaround [#36269] Crash upon right click on menu and left click on item