forked from bartvdbraak/blender
Cleanup: style, spelling
This commit is contained in:
parent
499308d079
commit
72565fbf30
@ -698,19 +698,19 @@ int main(int /*argc*/, char ** /*argv*/)
|
||||
KEY_ALL_ACCESS);
|
||||
|
||||
if (lresult == ERROR_SUCCESS)
|
||||
printf("Succesfully opened key\n");
|
||||
printf("Successfully opened key\n");
|
||||
#if 0
|
||||
lresult = regkey.QueryValue(&keyValue, "StereoEnable");
|
||||
if (lresult == ERROR_SUCCESS)
|
||||
printf("Succesfully queried key\n");
|
||||
printf("Successfully queried key\n");
|
||||
#endif
|
||||
lresult = regkey.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\NVIDIA Corporation\\Global\\Stereo3D\\StereoEnable",
|
||||
"1");
|
||||
if (lresult == ERROR_SUCCESS)
|
||||
printf("Succesfully set value for key\n");
|
||||
printf("Successfully set value for key\n");
|
||||
regkey.Close();
|
||||
if (lresult == ERROR_SUCCESS)
|
||||
printf("Succesfully closed key\n");
|
||||
printf("Successfully closed key\n");
|
||||
// regkey.Write("2");
|
||||
}
|
||||
#endif // WIN32
|
||||
|
@ -275,7 +275,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo
|
||||
|
||||
BLI_snprintf(sockpath, sizeof(sockpath), "%s_Image", filename);
|
||||
sock = ntreeCompositOutputFileAddSocket(ntree, node, sockpath, &nimf->format);
|
||||
/* XXX later do_versions copies path from socket name, need to set this explicitely */
|
||||
/* XXX later do_versions copies path from socket name, need to set this explicitly */
|
||||
BLI_strncpy(sock->name, sockpath, sizeof(sock->name));
|
||||
if (old_image->link) {
|
||||
old_image->link->tosock = sock;
|
||||
@ -284,7 +284,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo
|
||||
|
||||
BLI_snprintf(sockpath, sizeof(sockpath), "%s_Z", filename);
|
||||
sock = ntreeCompositOutputFileAddSocket(ntree, node, sockpath, &nimf->format);
|
||||
/* XXX later do_versions copies path from socket name, need to set this explicitely */
|
||||
/* XXX later do_versions copies path from socket name, need to set this explicitly */
|
||||
BLI_strncpy(sock->name, sockpath, sizeof(sock->name));
|
||||
if (old_z->link) {
|
||||
old_z->link->tosock = sock;
|
||||
@ -293,7 +293,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo
|
||||
}
|
||||
else {
|
||||
sock = ntreeCompositOutputFileAddSocket(ntree, node, filename, &nimf->format);
|
||||
/* XXX later do_versions copies path from socket name, need to set this explicitely */
|
||||
/* XXX later do_versions copies path from socket name, need to set this explicitly */
|
||||
BLI_strncpy(sock->name, filename, sizeof(sock->name));
|
||||
if (old_image->link) {
|
||||
old_image->link->tosock = sock;
|
||||
|
@ -975,7 +975,8 @@ static bool ui_but_event_operator_string(const bContext *C, uiBut *but, char *bu
|
||||
|
||||
IDP_AssignString(prop_menu_name, mt->idname, sizeof(mt->idname));
|
||||
|
||||
if (WM_key_event_operator_string(C, "WM_OT_call_menu", WM_OP_INVOKE_REGION_WIN, prop_menu, true, buf_len, buf))
|
||||
if (WM_key_event_operator_string(C, "WM_OT_call_menu", WM_OP_INVOKE_REGION_WIN, prop_menu,
|
||||
true, buf_len, buf))
|
||||
{
|
||||
found = true;
|
||||
}
|
||||
|
@ -1844,7 +1844,7 @@ static void vgroup_smooth_subset(
|
||||
MVert *v_other = &me->mvert[i_other];
|
||||
|
||||
if ((source == WEIGHT_SMOOTH_ALL) ||
|
||||
(source == ((v_other->flag & SELECT) != 0)))
|
||||
(source == ((v_other->flag & SELECT) != 0)))
|
||||
{
|
||||
WEIGHT_ACCUMULATE;
|
||||
}
|
||||
|
@ -387,7 +387,7 @@ PyDoc_STRVAR(SVertex_curvatures_doc,
|
||||
"directions, i.e. the directions of the normal plane where the\n"
|
||||
"curvature takes its maximum and minimum values, respectively; and Kr,\n"
|
||||
"er and dKr are the radial curvature, radial direction, and the\n"
|
||||
"derivative of the radial curvature at this SVertex, repectively.\n"
|
||||
"derivative of the radial curvature at this SVertex, respectively.\n"
|
||||
"\n"
|
||||
":type: tuple");
|
||||
|
||||
|
@ -63,7 +63,7 @@ static char GetDirectionalViewMapDensityF1D___doc__[] =
|
||||
"\n"
|
||||
" Returns the density evaluated for an Interface1D in of the steerable\n"
|
||||
" viewmaps image. The direction telling which Directional map to choose\n"
|
||||
" is explicitely specified by the user. The density is evaluated for a\n"
|
||||
" is explicitly specified by the user. The density is evaluated for a\n"
|
||||
" set of points along the Interface1D (using the\n"
|
||||
" :class:`freestyle.functions.ReadSteerableViewMapPixelF0D` functor) and\n"
|
||||
" then integrated into a single value using a user-defined integration\n"
|
||||
|
@ -168,7 +168,7 @@ private:
|
||||
|
||||
// GetDirectionalViewMapDensity
|
||||
/*! Returns the density evaluated for an Interface1D in of the steerable viewmaps image.
|
||||
* The direction telling which Directional map to choose is explicitely specified by the user.
|
||||
* The direction telling which Directional map to choose is explicitly specified by the user.
|
||||
* The density is evaluated for a set of points along the Interface1D (using the ReadSteerableViewMapPixelF0D functor)
|
||||
* and then integrated into a single value using a user-defined integration method.
|
||||
*/
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
virtual ~BaseObject() {}
|
||||
|
||||
/*! At least makes a release on this.
|
||||
* The BaseObject::destroy method must be explicitely called at the end of any overloaded destroy
|
||||
* The BaseObject::destroy method must be explicitly called at the end of any overloaded destroy
|
||||
*/
|
||||
virtual int destroy()
|
||||
{
|
||||
|
@ -834,11 +834,11 @@ static void rna_def_material_gamesettings(BlenderRNA *brna)
|
||||
{GEMAT_ADD, "ADD", 0, "Add", "Render face transparent and add color of face"},
|
||||
{GEMAT_CLIP, "CLIP", 0, "Alpha Clip", "Use the image alpha values clipped with no blending (binary alpha)"},
|
||||
{GEMAT_ALPHA, "ALPHA", 0, "Alpha Blend",
|
||||
"Render polygon transparent, depending on alpha channel of the texture"},
|
||||
"Render polygon transparent, depending on alpha channel of the texture"},
|
||||
{GEMAT_ALPHA_SORT, "ALPHA_SORT", 0, "Alpha Sort",
|
||||
"Sort faces for correct alpha drawing (slow, use Alpha Clip instead when possible)"},
|
||||
"Sort faces for correct alpha drawing (slow, use Alpha Clip instead when possible)"},
|
||||
{GEMAT_ALPHA_TO_COVERAGE, "ALPHA_ANTIALIASING", 0, "Alpha Anti-Aliasing",
|
||||
"Use textures alpha as anti-aliasing mask, requires multi-sample OpenGL display"},
|
||||
"Use textures alpha as anti-aliasing mask, requires multi-sample OpenGL display"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
@ -2696,7 +2696,7 @@ static PyObject *BPy_EnumProperty(PyObject *self, PyObject *args, PyObject *kw)
|
||||
}
|
||||
|
||||
if (def == Py_None) {
|
||||
/* This allows to get same behavior when explicitely passing None as default value,
|
||||
/* This allows to get same behavior when explicitly passing None as default value,
|
||||
* and not defining a default value at all! */
|
||||
def = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user